Skip to content

The login logout system created using Node.js, Express.js, MySQL, HBS (Handlebars), and JWT token is a web application that allows users to authenticate themselves and securely access certain resources or features of the system.

Notifications You must be signed in to change notification settings

3011ar/Login-System-Using-JWT-Cookie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Login Logout System

The login logout system created using Node.js, Express.js, MySQL, HBS (Handlebars), and JWT token is a web application that allows users to authenticate themselves and securely access certain resources or features of the system.

The system uses Node.js and Express.js to handle HTTP requests and responses, MySQL as the database management system, HBS (Handlebars) as the templating engine for rendering views, and JWT (JSON Web Token) as the mechanism for securely transmitting information between parties.

The login functionality requires the user to enter their email and password. Once authenticated, a JWT token is generated and sent back to the client. The token is then stored in the client-side local storage or cookies and is used to authenticate subsequent requests to the server.

The logout functionality clears the token from the client-side storage and redirects the user to the login page.

The system also includes password hashing and salted password storage to ensure user security.

Overall, this login logout system provides a secure and efficient way for users to authenticate themselves and access protected resources in a web application.

Features

  • Password Validation and Encryption
  • Session Cookies
  • JWT Token
  • Login , Logout , Register , Profile Pages

🛠 Tech Stack Used

HTML, CSS , HBS , Node.js , Express.js , MYSQL , JWT Tokens , Cookies ...

Installation

Install Login-System-Using-JWT-Cookie with npm

  npm install express mysql bcrypt dotenv cookie-parser nodemon 
  cd Login-System-Using-JWT-Cookie

Start Project

  nodemon index.js

Screenshots

Login page

github-small

Profile page

github-small

Register page

github-small

Support

For support, email [email protected]

Feedback

If you Liked this please send your feedback out to me at [email protected]

About

The login logout system created using Node.js, Express.js, MySQL, HBS (Handlebars), and JWT token is a web application that allows users to authenticate themselves and securely access certain resources or features of the system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published