Skip to content

Tasnimsomo/User-Authentication-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

User Authentication System

A secure authentication system built with Node.js, Express and MongoDB.

Features

  • User registration and login
  • JWT-based authentication
  • Password strength validation
  • Rate limiting for login attempts
  • Error handling
  • Unit tests

Setup

  1. Clone the repository
  2. Install dependencies
    npm install
  3. Create a .env file: PORT=3000 MONGO_URI=your_mongodb_uri JWT_SECRET=your_secret_key
  4. Start the server: npm run dev

API Documentation

See API Documentation for detailed endpoint information

Security Features

-Password hashing with bcrypt -JWT token authentication -Rate limiting for brute force prevention -Password strength requirements -Error handling and requirements

Contributing

-Fork the repository -Create your feature branch -Commit your changes -Push to branch -Create a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published