Skip to content

AndrewSenewe/rest-api

 
 

Repository files navigation

rest-api

Description

This simple authentcation API meant to make a simple CRUD with an authentcation system

Setup

https://api-sendiri.herokuapp.com/

Hint

The default database used is postgres but you can costom it with any sequelize-supported database such as:

  • mysql
  • sqlite3
  • etc
Route HTTP Description
/api/signup POST Sign up with new user info
/api/signin POST Sign in while get an access token based on credentials
/api/users GET Get all data users info (admin only)
/api/users/:id GET Get all data users info (admin only)
/api/users POST Create a user (admin only)
/api/users/:id DELETE Delete a user (admin only)
/api/users/:id PUT Update a user with new info (admin and authenticated user)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.1%
  • HTML 2.8%
  • CSS 1.1%