###(A React-native project)
##Spin-up steps
- Make sure mongo instance is running
- run
mongod
thenmongo
(in separate windows) - test if running in mongoshell
- run
- Start up Backend (local server)
- cd to
Back_End
directory - run
nodemon
ornode app.js
- cd to
- Start up React-native app
- cd to main directory
- run
react-native run-ios
orreact-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 🐨