The project is currently hosted on ocms-frontend.vercel.app.
To start the project on your local system, perform the following steps:-
Clone the repository
git clone https://github.com/Software-Engineering-Project-Team-Bob/OCMS_Frontend.git
Currently, the frontend works on the hosted backend URL at ocms-backend.vercel.app.
Change the Environment Variables in the .env.example files.
Config your Firebase and start a project by adding the following variables from your Firebase account to the .env file
REACT_APP_API_KEY= "your-firebase-api-key"
REACT_APP_AUTH_DOMAIN= "your-firebase-auth-domain"
REACT_APP_PROJECT_ID= "your-firebase-project-id"
REACT_APP_STORAGE_BUCKET= "your-firebase-storage-bucket"
REACT_APP_MESSAGING_SENDER_ID= "your-firebase-messaging-sender-id"
REACT_APP_APP_ID= "your-firebase-app-id"
REACT_APP_MEASUREMENT_ID= "your-firebase-measurement-id"
Install all the dependencies of the project
npm install --f
Some dependencies have go old so that's why a need to use npm i --f
Start the project
npm start