💣💣💣💣 rename the file .env.sample
to .env
and spicify your database name; 💣💣💣💣
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 |
this is the following body
for the login
and signup
request;
{
"username": "demo",
"password": "demo"
}