Skip to content

A RESTful API, allowing users to authenticate, log in, log out and update or delete their account.

Notifications You must be signed in to change notification settings

ronazf/REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Authentication REST API

A REST API designed for user authentication that uses PostgreSQL and JWT token generation to authententicate users.

API Reference

Register user

  POST /api/v1/users/register
Parameter Type Description
username string Required. User's username
email string Required. User's email
password string Required. User's password

Login user

  POST /api/v1/users/login
Parameter Type Description
email string Required. User's email
password string Required. User's password

Login user

  PUT /api/v1/users/${id}
Parameter Type Description
authorization token string Required. User's authentication token
id string Required. Id of user to update

Login user

  DELETE /api/v1/users/${id}
Parameter Type Description
authorization token string Required. User's authentication token
id string Required. Id of user to delete

About

A RESTful API, allowing users to authenticate, log in, log out and update or delete their account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published