Skip to content

1. Project information

Stefania edited this page Jan 31, 2021 · 2 revisions

Our folders and files

  • controllers: the controllers which contain all functions and business logic.
  • models: the schemas of our database models.
  • public: javascript, css files and images.
  • routes: the routers of each page.
  • views: the .ejs files that are rendered in the browser.
  • main.js: initializes the application and sets up the connection
  • package-lock.json
  • package.json

Project dependencies

  • accesscontrol
  • body-parser
  • connect-flash
  • cookie-parser
  • ejs
  • elasticsearch
  • express
  • express-ejs-layouts
  • express-session
  • http-status-codes
  • mailgen
  • mongodb
  • mongoosastic
  • mongoose
  • nodemailer
  • passport
  • passport-local-mongoose
  • path

Clone this wiki locally