Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.36 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.36 KB

Survey app backend

Survey app backend implementation written with node.js.

Related to: survey-frontend

Demo

Live demo: survey-app.lengvenis.me

Scripts

Install MongoDB database from documentation

Start MongoDB instance:

mongod

Install dependencies using yarn or npm manager:

yarn install

Start development version:

yarn start

Design notes

Folder structure

Configuration structure is copied from MERN starter:

  • config - database configuration and demo data
  • controllers - auth and survey controllers
  • models - mongoDB models
  • routes - api routes
  • services - passport service
  • views - error and index jade views

Features log

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