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.
- Host: GitHub
- URL: https://github.com/anshuman-02/secrets-project
- Owner: Anshuman-02
- Created: 2025-02-17T15:40:47.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-17T15:54:04.000Z (12 months ago)
- Last Synced: 2025-02-17T16:38:35.715Z (12 months ago)
- Topics: authentication, codingprojects, expressjs, javascript, middleware, nodejs, security, webdevelopment
- Language: HTML
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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