Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 931 Bytes

File metadata and controls

34 lines (26 loc) · 931 Bytes

ROUTES

localhost/

  • / (GET) homepage

localhost/users

  • /login (POST) to login and render /users/:userid/accounts
  • /logout (POST)
  • /registration (POST) registration for users

localhost/organizations

  • /login
  • /logout
  • /registration (POST) registration for orgs

localhost/api

  • /user (GET) show user information

  • /user (PUT) edit user information

  • /user (DELETE) delete user

  • /accounts (POST) create new account

  • /accounts (GET) show ALL accounts or category (based on query) or based on search

  • /accounts (PUT) edit account

  • /accounts (DELETE) delete account

  • /generate-password (POST) generate password

  • /organization (GET) show organization information

  • /organization (PUT) edit organization information

  • /organization (DELETE) delete organization

  • /manage (GET) show all users in the organiation

  • /manage (PUT) edit users in the organization

  • /manage (DELETE) remove user from organization