An open API service indexing awesome lists of open source software.

https://github.com/anshuman-02/secrets-project

A simple authentication system in Express.js using middleware and password verification.
https://github.com/anshuman-02/secrets-project

authentication codingprojects expressjs javascript middleware nodejs security webdevelopment

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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:
```bash
git clone https://github.com/Anshuman-02/Secrets-Project.git
2. Navigate to the project folder:
```bash
cd Secrets-Project
3. Install dependencies:
```bash
npm install
4. Run the script:
```bash
node solution.js
5. Open http://localhost:3000 in your browser and test authentication.

## 🏷️ Hashtags
#NodeJS #ExpressJS #Authentication #Middleware #WebDevelopment #JavaScript #Security #CodingProject