Skip to content

PatrickBenz09/rest-api

 
 

Repository files navigation

rest-api App

Demo app with basic REST API

REST API

List of basic routes:

Route HTTP Description
/api/index GET Print hello

List of user routes:

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 the users info (admin only)
/api/users/:id GET Get a single user info (admin and authenticated user)
/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)

Link Heroku

https://rest-api-benz.herokuapp.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%