This is a RESTful API for user authentication, allowing users to register, log in, and access their profile if authorized.
- User Registration
- User Login
- Access to Profile for Authorized Users Only
- Nodejs
- Expressjs
- mysql2
URL: http://localhost:3000/register
Method: POST
URL: http://localhost:3000/login
Method: POST
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