A web app project for NUS's summer project Orbital (CP2106). Developed using the MERN (MongoDB, Express, React, Node) stack over Summer 2022 (May - Aug).
Tang Kyn-Han
Lim Jun Hong, Don
https://main--orbital-gather.netlify.app/
https://docs.google.com/document/d/19zqN8dPkPoJ8vqAqu2n2_ZDLb4BeswQS9QnDeCeIlb0/edit?usp=sharing
Fork the repository, then clone the repository locally by doing -
git clone git@github.com:donljh/orbital22-gather.git
In the root folder, do npm install (to install concurrently)
npm install
Then, do npm run build, to collectively install all dependencies for both frontend/backend
npm run build
Alternatively, you can install the dependencies separately by doing cd client/server and doing npm install
To run the server you need to provide the .env
variables
- Create a new .env file in the server folder
- Open the [.env.example] file in the server/config folder
- Copy the contents and paste it into the .env file with valid keys
With everything properly set up, you should be good to go! From the root directory, do npm start to run both front/backend at once
Alternatively, you can run them separately by doing cd client/server and doing npm start
npm start