This is a simple app that uses some local data to track field support for batteries.
Demo - https://codesandbox.io/p/github/acekyd/field-support/master
- Nuxt 3
- Tailwind CSS
- When batteries have the same charge on multiple readings, only the first timestamp is used to compare the discharge duration till a different charge value is added.
- Data about how many batteries per school are bad is stored differently from the actual processed data set.
- Currently not using the employeeID for anything but kept it in the processing in case a new feature could be added.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
npm test
- NB: Testing is currently broken as a result of some Nuxt 3 features but I didn't want to delay and would continue to look into a solution.