Our project lies betweens two folders, children and parent. The parent folder contains a React.JS PWA, and the children folder contains a React Native app.
- MongoDB Cluster
- AWS S3 bucket
We use React.JS for the front-end, Express.JS for the backend, and MongoDB for our database. To get it running, run git clone on https://github.com/Chicago19/team-6.git and install the following:
- npm/npx (npx comes with npm)
- nodemon;
npm install --save-dev nodemon - express.js;
npm install express --save - react-scripts;
npm install react-scripts - react-dom;
npm install react react-dom --save - concurrently;
npm install concurrently --save - MongoDB;
npm install mongodb --save - sass;
npm install node-sass -S
Then, cd into the parents folder and run npm run dev.
We use React Native for the front-end running on top of expo. To begin, make sure you have NodeJS and install expo cli using npm install expo-cli --global.
Run the app by cd'ing into the children folder and running npm start. Make sure your phone is connected to the same network as your laptop and scan the qr code using the expo app.
If you have any dependency errors, try removing node_modules with rm -rf node_modules and reinstall dependencies using npm install.