Skip to content

WahidinAji/presence-activities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO

  • Logout service -> done
  • View activities by date
  • View presences by date
  • Complete the request documentation

User Services

Register Service

  • url
http://127.0.0.1:3000/api/users/register
  • method POST

  • body

{
    "name" : "Your Name",
    "email" : "your.email@mail.com",
    "password" : "yourpassword"
}

Login service

  • url
http://127.0.0.1:3000/api/users/login
  • method POST

  • body

{
    "email" : "your.email@mail.com",
    "password" : "yourpassword"
}

Logout service

  • Authentication Bearer Token : <token>
  • url
http://127.0.0.1:3000/api/users/logout
  • method POST
  • body
{
    "user_id" : "your.email@mail.com"
}

Presence Services

Check In Service

  • Authentication Bearer Token : <token>
  • url
http://127.0.0.1:3000/api/presences
  • method POST

  • body

{
    "user_id" : "your.email@mail.com",
    "status" : "check_in | check_out"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages