Skip to content

ZaidRasheed/User-authentication-node-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation




Using Start Bootstrap - Clean Blog as a template for the blog website I added a login, register, edit, submit and profile page as well as comments on posts page.

The users are authenticated with passport using express sessions and passwords that are hashed with bcrypt then stored on the database.

All routes are protected and can't be accessed without signing in, posting and edititng posts is restricted to admin only, a user can only delete his comments either from the post or from his profile where all his comments are shown there with the corresponding post.

EJS for templating.

MYSQL database.


Blog Website