Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication System

A simple and professional authentication application built with vanilla HTML, CSS, and JavaScript.

Features

  • User Registration: Create new accounts with email validation
  • User Login: Secure login with username and password verification
  • Admin Panel: View all registered users and their credentials
  • Data Validation: Email format, password strength, and username availability checks
  • Responsive Design: Clean and professional interface

Project Structure

├── index.html       Main authentication page with login and signup forms
├── admin.html       Admin panel to view and manage all users
├── auth.js          Authentication logic for login and signup
├── admin.js         Admin panel functionality
└── style.css        Professional styling for both pages

Getting Started

  1. Open index.html in your web browser
  2. Create a new account or login with existing credentials
  3. Access the admin panel by navigating to admin.html

Usage

Sign Up

  • Enter username (minimum 3 characters)
  • Enter email address
  • Create password (minimum 6 characters)
  • Confirm password
  • Click "Create Account"

Login

  • Enter registered username
  • Enter password
  • Click "Login"

Admin Panel

  • View all registered users in a table format
  • See usernames, emails, passwords, and creation dates
  • Copy passwords to clipboard
  • Delete individual users or all users at once

Technical Details

  • Data Storage: Browser localStorage (currently for development)
  • No external dependencies
  • Client-side validation only
  • Event delegation for efficient DOM handling

Important Notes

  • Passwords are currently stored in plain text (not hashed)
  • All data is stored in browser localStorage, not a database
  • This is a development/demo version

Production Recommendations

  • Implement password hashing (bcrypt, argon2)
  • Use a backend server and database (MongoDB, PostgreSQL, etc.)
  • Add password reset functionality
  • Implement proper authentication tokens (JWT)
  • Use HTTPS for all communications
  • Add CSRF protection
  • Implement rate limiting
  • Add user session management
  • Store sensitive data securely on the server

Browser Support

Works on all modern browsers that support ES6 and localStorage.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages