Skip to content

InesCV/unpopular-opinion-backend

Repository files navigation

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"
}

About

Unpopular Opinion Backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •