Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 561 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 561 Bytes

Auth backend server

💣💣💣💣 rename the file .env.sample to .env and spicify your database name; 💣💣💣💣

Routes

Method Path Description
get /auth/me check if i'm logged
post /auth/login login
post /auth/signup signup
post /auth/logut logout
get /auth/private private route for test

Login & Signup

this is the following body for the login and signup request;

{
  "username": "demo",
  "password": "demo"
}