Skip to content

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