Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 981 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 981 Bytes

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