DH2642 Group 33
- Vite
- React.js (Javascript)
- Tailwindcss
- Firebase
- We use firebase a bit different from the tutorial, please refer to here.
- For UI development, please see daisyUI and tailwind
- For components please refer to daisyUI
- For simple preset css classes please refer to tailwind (e.g. display, border, color, font)
- React router
- Redux
It is recommended to load the project using VSCode as there's settings for recommended plugins and editor. Saving the code shall trigger automatic linting and formatting.
Before start, create apiConfig.js
and firebaseConfig.js
under src
directory with configurations.
To start development:
npm install
npm run dev
Run linter and prettier:
npm run lint:fix # Run eslint and fix
npm run lint:format # Run prettier and format
npm run lint # Run both
To deploy the project to firebase, you need to install firebase-tools
and login first (make sure you have access to the firebase project):
npm install -g firebase-tools
firebase login
Then each time you want to deploy:
npm run build
firebase deploy
Or use the quick command:
npm run deploy # This will build first and deploy