To make the app run correctly, you must have these packages installed:
- TypeScript - Type checker.
- Tailwindcss - Build layout & components.
- React-chartjs - Build chart
- axios - Promise based HTTP client.
- ESLint and Prettier - Coding convention.
- husky - pre-commit hook.
Use the package manager npm or yarn to install all package needed.
npm install
Run the app in the development mode. Open http://localhost:3000 to view it in the browser.
npm run start
- I used my-json-server - for fake api server. you can visit this repo i create to check the json database
- Some data in my project such as chart data is hard-coded
- There are three route "/" ,"/health", "/record". You can navigate to different page by using the navbar