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

About

NodeJS multi-auth configuration using mongodb

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy