Skip to content

hudazaan/UserAuthSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UserAuthSystem

This project implements a user authentication system using Node.js and MySQL. It supports user registration, login, and token-based authentication with refresh tokens.

Features

-User registration and login
-JWT authentication
-Refresh token mechanism
-CRUD operations for user data
-Transaction logging for auditing purposes

Technologies Used

-Node.js
-Express.js
-MySQL
-JWT (JSON Web Tokens)
-bcrypt.js for password hashing

Prerequisites

-Node.js (v14 or higher)
-MySQL Server
-MySQL Workbench (optional for managing the database)
-Postman for testing APIS

Setup Instructions

Follow these steps to set up and run the application locally:

### 1. Clone the Repository
Clone this repository to your local machine using the following command:  
```bash
git clone
https://github.com/yourusername /UserAuthSystem.git cd UserAuthSystem


### 2. Database Setup
To set up the database, run the SQL commands mentioned in the mysql.txt file


### 3. Postman Setup
You can use Postman to test the API endpoints. Refer to the APIs mentioned in the postman.txt file. 

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors