Skip to content

AntoniAngga/rest-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My App Name

Demo App with basic Rest API.

##REST API 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)

##Usage

With only postman

Access the website via https://restfull-api-myapp.herokuapp.com/ or API via https://restfull-api-myapp.herokuapp.com/api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 96.4%
  • HTML 2.6%
  • CSS 1.0%