###(A React-native project)
##Spin-up steps
- Make sure mongo instance is running
- run
mongodthenmongo(in separate windows) - test if running in mongoshell
- run
- Start up Backend (local server)
- cd to
Back_Enddirectory - run
nodemonornode app.js
- cd to
- Start up React-native app
- cd to main directory
- run
react-native run-iosorreact-native run-android
###Back-End
| function |
|---|
| objects to be passed in JSON |
| register | login | addQuestion | vote |
|---|---|---|---|
| username, password , email | username, password | username, question, optionA, optionB | username, LorR |
###Front-End
###Dependencies
- nodemon (for workflow management: install globally)
- Express 🚋
- chai 🍵 (For unit testing: install locally)
- mocha ☕ (For unit testing: install globally)
- jade
- mongoose 🐨