Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Syed25794/mock_4_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Management System

This is a simple user management system that allows users to register, login, logout, calculate EMI and get their profile details.

Tech Stacks

-Node.js -Express.js -MongoDB -bcrypt -jsonwebtoken

API Endpoints

Register User

Endpoint: 'https://mock-4-api.onrender.com/user/register` Method: POST Body:

{
    email: String,
    password: String,
    name: String
}

Login User

Endpoint: https://mock-4-api.onrender.com/user/login Method: POST Body:

{
    email: String,
    password: String
}

Get User Profile

Endpoint: https://mock-4-api.onrender.com/user/getProfile/:email Method: GET

{
  email: String
 }

Calculate EMI

Endpoint: https://mock-4-api.onrender.com/user/calculateEMI Method: POST Body:

{
    amount: Number,
    interest: Number,
    months: Number
}

Logout User

Endpoint: https://mock-4-api.onrender.com/user/logout Method: POST

About

This is a API of users to register , login, get the profile and calculate the EMI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published