- User authentication with Passport.js
- Using the MVC pattern to structure the website and separate code
- Practice with Express.js middleware to handle requests and asynchronous operations
- Form validation and sanitization
- Properly storing data using a MongoDB database
- Passing data from the backend to the frontend
- Using EJS and views to render data and conditionally display content based on membership status or admin privileges
- All messages are displayed on the home page for the user to see.
- Users can login and forms also include validation checks to make sure credentials are valid. It will display incorrect password or email.
- Welcome page if user authentication is successful using conditional rendering within EJS view.
- Users can become a member by answering a question. If successful they will be able to see the author and date of the messages.
- Users Can make posts.
- When users sign up they can choose to become an admin.
- If the user is an admin they will have the ability to see all the contents of the messages including title, text, author, date as well as the ability to delete messages.
To get project cloned locally: git clone git@github.com:alecnissen/members-only.git
then npm install
which will install all dependency's and packages.
Creator: Alec J Nissen
E-Mail: alecnissen@yahoo.com
GitHub: https://github.com/alecnissen/members-only