Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1014 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 1014 Bytes

members-only

An exclusive clubhouse where members can write anonymous posts using Express, PassportJS and MongoDB. Anyone who comes to the site should be able to see a list of all messages, with the author’s name hidden. Users should be able to sign-up and create messages, but ONLY users that are members should be able to see the author and date of each message. Finally, users who are an admin user can see everything and also has the ability to delete messages.

A simple live demo of the website is found here

To install the project

  • clone it
  • install dependencies using npm install
  • run the project npm run devstart

Database Models

members-only DB model digram

In this project, i used:

  • node
  • express
  • passportjs
  • passport-local
  • ejs
  • express-validator package
  • mongoDB
  • mongoose ODM
  • date-fns
  • nodemon