Skip to content

This is a RESTful API for user authentication, allowing users to register, log in, and access their profile if authorized.

Notifications You must be signed in to change notification settings

Nitesh2-0/Restful-API

Repository files navigation

User Authentication API

This is a RESTful API for user authentication, allowing users to register, log in, and access their profile if authorized.

Features

  • User Registration
  • User Login
  • Access to Profile for Authorized Users Only

Tech Stack

  • Nodejs
  • Expressjs
  • mysql2

Endpoints

Register User

URL: http://localhost:3000/register
Method: POST

Login User

URL: http://localhost:3000/login
Method: POST

Profile

URL: http://localhost:3000/profile
Method: GET

Request Body:

{
  "username": "string",
  "email": "string",
  "password": "string"
}
git clone https://github.com/Nitesh2-0/Restfull-API.git
npm install 

About

This is a RESTful API for user authentication, allowing users to register, log in, and access their profile if authorized.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published