Our webapp's frontend
Find a file
2026-01-06 10:41:07 -06:00
.vscode added vscode settings to make tabs smaller by default 2024-11-13 10:59:51 -06:00
public added cache-busting service-worker and removed caching for service-worker.js (vite uses sw.js) 2025-08-21 14:33:22 -06:00
src finished the supported grain view for desktop and the mobile view for both 2026-01-06 10:41:07 -06:00
.env added white label client ids 2025-05-12 12:03:20 -06:00
.gitignore folderized app files 2024-10-21 15:21:22 -06:00
.gitlab-ci.yml trying to fix the tag for the streamline image 2025-06-11 14:01:11 -06:00
docker-compose.dev.yml added dns 2024-10-30 14:21:52 -06:00
docker-compose.prod.yml added docker-compose for production 2025-04-22 11:22:02 -06:00
docker-compose.staging.yml added staging yml file 2025-04-17 15:46:06 -06:00
docker-compose.streamline.yml added streamline docker compose and build steps 2025-06-11 10:42:19 -06:00
Dockerfile added Dockerfile 2024-10-09 14:37:39 -06:00
eslint.config.js switched to vite instead of create-react-app to stayed updated in packages 2024-10-21 14:32:25 -06:00
index.html replacing title by id based on whiteLabel name 2025-05-14 12:41:31 -06:00
indexV2.html directing webserver traffic to indexV2.html to force V1 users to re-cache 2025-06-04 14:15:04 -06:00
nginx.conf added cache-busting service-worker and removed caching for service-worker.js (vite uses sw.js) 2025-08-21 14:33:22 -06:00
package-lock.json finished implementing the custom grain functionality on the grains page and the basic desktop view, and also am now using permissions to disable the buttons ro add/update/remove 2025-12-31 13:58:38 -06:00
package.json updated the grain describers to use the new enum in the pond for the moisture calculation, changed the extract moisture function to account for custom grain types, and if there is no equation set it will return the humidity, updated instances where the bin uses that function to pass in the grain settings in its inventory 2025-12-12 15:17:37 -06:00
README.md switched to vite instead of create-react-app to stayed updated in packages 2024-10-21 14:32:25 -06:00
tsconfig.app.json changed imports to remove legacy 2025-05-08 11:24:21 -06:00
tsconfig.json bins page now has the add bin button 2025-03-10 12:51:40 -06:00
tsconfig.node.json added ts config so that it could compile using absolute paths without error 2024-11-14 15:27:54 -06:00
vite.config.ts there was a slash in the url that should not have been there, removing it fixed the api call code from 307 back to 200 2025-10-15 14:12:53 -06:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
  // Set the react version
  settings: { react: { version: '18.3' } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
  },
})