Skip to content

Authentication and user permissions project from TOP. Express, EJS, MongoDB/mongoose, PassportJS, bcryptjs.

Notifications You must be signed in to change notification settings

kathyavini/members-only

Repository files navigation

Members Only

Screenshot of Members Only site

Session-based authentication and user permissions project from TOP

Description

This app is my solution to The Odin Project Members Only assignment. The task is to create a message board with four levels of user permissions managed with session-based authentication in PassportJS.

Project Objectives

  • Users and messages should be stored in MongoDB and modelled in mongoose
  • Server-side sessions should manage four levels of user permissions: public (logged out), users, members, and admin
  • User passwords should be encrypted with bcrypt
  • Only members should be able to see the authors of posts to the message board, and only admins should be able to delete messages

Usage

Visit the live site to view the message board (Note: the free tier Render web service is sometimes very slow to spin up, but should start eventually).

Create a free account (email is not required and your password is encrypted) to post to the message board.

Demo

Demonstration of website features

Technologies used

About

Authentication and user permissions project from TOP. Express, EJS, MongoDB/mongoose, PassportJS, bcryptjs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published