Skip to content

ally-commits/node-multi-auth

Repository files navigation

THIS PROJECT WAS MADE OUT NODE EXPRESS

TO RUN THIS PROJECT:
#AFTER CLONING

$npm install
$node server.js

THIS WOULD START SERVER IN http://localhost:9000

API'S:


AUTH:

POST - /api/auth/login
POST - /api/auth/register

CUSTOMER:
GET - /api/customer/get-loans

AGENT:

POST - /api/agent/create-loan
PUT - /api/agent/update-loan
GET - /api/agent/get-users
GET - /api/agent/get-loans

ADMIN:

GET - /api/admin/get-loans
GET - /api/admin/get-users
POST - /api/admin/add-agent
PUT - /api/admin/update-loan-status

Releases

No releases published

Packages

No packages published