Skip to content

adeanugerah89/rest-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My App Name

Tugas pertama di phase2

rest-api

list of basic routes:

Routes HTTP Description
/api/hello?name={name} GET print hello, {name} !

list of user routes:

Routes 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 96.2%
  • HTML 2.8%
  • CSS 1.0%