Survey app backend implementation written with node.js.
Related to: survey-frontend
Live demo: survey-app.lengvenis.me
Install MongoDB database from documentation
Start MongoDB instance:
mongod
Install dependencies using yarn or npm manager:
yarn install
Start development version:
yarn start
Configuration structure is copied from MERN starter:
config
- database configuration and demo datacontrollers
- auth and survey controllersmodels
- mongoDB modelsroutes
- api routesservices
- passport serviceviews
- error and index jade views
Feature | Status | References |
---|---|---|
Passport.js support | DONE | www.passportjs.org |
Async/await presets | DONE | MDN Async Functions |
CORS support | DONE | MDN Cross Origin |
Error handling | DONE | |
ES6 imports | DONE |