Skip to content

aniqaqill/auth-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regov Technologies assignment

Based on the given Question 2.Implement a user registration and login API, connect mysql database, a user should be able to register and then use the registered details to sign into the system. A signed in user should be able to log out from the system.

Technologies Used for Back-end

  • NodeJS
  • ExpressJS
  • Prisma
  • postgresql (Supabase)
  • Railway (Deployment)

RESTful API Node Express for user authentication

The project builds RESTful APIs using Node.js, Express

Manual Installation

Clone the repo:

git clone https://github.com/aniqaqill/auth-server.git
or
gh repo clone aniqaqill/auth-server
cd repo

Install the dependencies:

npm install

Commands

Running in development:

npm run dev

API URL

URL = # (https://auth-server-production-84ee.up.railway.app/)

API Endpoints

List of available routes:

Auth routes:
POST https://auth-server-production-84ee.up.railway.app/register - Register
POST https://auth-server-production-84ee.up.railway.app/login - Login
POST https://auth-server-production-84ee.up.railway.app/logout - Logout
POST https://auth-server-production-84ee.up.railway.app/profile - Profile\

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published