Skip to content

A simple authentication system in Express.js using middleware and password verification.

Notifications You must be signed in to change notification settings

Anshuman-02/Secrets-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express.js Authentication System 🔐

A simple authentication system in Express.js using middleware and password verification.

📌 Features

  • Uses middleware for password authentication.
  • Displays index.html for login input.
  • If the correct password (ILoveProgramming) is entered, redirects to secret.html.
  • If incorrect, redirects back to the login page.

🛠 Technologies Used

  • Node.js
  • Express.js
  • Body-Parser
  • HTML (for frontend)

🚀 How to Run the Project

  1. Clone the repository:
    git clone https://github.com/Anshuman-02/Secrets-Project.git
  2. Navigate to the project folder:
    cd Secrets-Project
  3. Install dependencies:
    npm install
  4. Run the script:
    node solution.js
  5. Open http://localhost:3000 in your browser and test authentication.

🏷️ Hashtags

#NodeJS #ExpressJS #Authentication #Middleware #WebDevelopment #JavaScript #Security #CodingProject

About

A simple authentication system in Express.js using middleware and password verification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published