Skip to content

CUNYTech/community_app

Repository files navigation

Queri

###(A React-native project)

##Spin-up steps

  1. Make sure mongo instance is running
    • run mongod then mongo (in separate windows)
    • test if running in mongoshell
  2. Start up Backend (local server)
    • cd to Back_End directory
    • run nodemon or node app.js
  3. Start up React-native app
    • cd to main directory
    • run react-native run-ios or react-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 🐨