- Install node.js version management
- Execute
nvm install 24 - Execute
nvm use 24 - Execute
npm i yarn -g--> Installs yarn globally. - Execute
yarn--> Installs all dependencies.
- Execute:
yarn dev--> Runs the app in the development mode. - Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
Happy Coding!
The Application won't start
Don't forget to create the .env file with all the keys and values in it.
For that just copy the .env.example file, rename it to .env, and add the missing secrets.
Note: environment variables use the VITE_ prefix (e.g. VITE_FIREBASE_API_KEY).
To get the .env values for the dev instance, please contact onlinemat@cevi.tools
Where is the backend? For the backend we use Firebase. It's a NoSQL database provided by Google.
How do I deploy the application?
The application is auto deployed using a GitHub Action.
The action is triggered when a new commit is pushed to the master branch. It builds the docker container(s) and pushes
them to the Private Container Registry. The container is then deployed to
the Swarm Cluster. All configs are stored in
the Cevi Tools Infrastructure registry.