This project is currently under development and does not have a deployed preview version. Following the bellow instructions would allow running it in a local enviorment for preview purposes.
Setup the packages
npm install
Install Git hooks and husky
npm run prepare
Run the app in development mode
npm run dev
Generate a production build
npm run build
There are a few prequisites for the emulators to work such as Firebase Tools CLI, NodeJS and JDK.
Please refer to the Firebase documentation:
To initialize the emulators run:
firebase init emulators
For local development the emulators require firestore.rules and storage.rules. A default setup that fully allows read and writes are present in the repository. However in production mode the rules differ and will not be added to the repository as they might contain sensitive information in regards to the allowed access.
For more information regarding the securities rules language refer to:
The project currently uses the following emulators:
- Authentication
- Firestore
- Storage
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
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 {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list