-
create/config .env
-
run docker-compose
docker compose up
- mongoengine: ORM
-
GET:
/api/auth/logout?email=[email]&token=[token]
(not supposed to be, but easier) -
GET:
/api/auth/check?email=[email]&token=[token]
-
Manual
-
POST:
/api/auth/signup
body = { "email": "", "username": "", "password": "", "confirm-password": "", }
-
POST:
/api/auth/login
body = { "email": "", "password": "", }
-
-
OAuth
- GET:
/api/auth/login/google
- GET:
/api/auth/login/github
- GET:
-
GET:
/api/user/profile?email=[email]
-
PUT:
/api/user/profile?email=[email]&token=[token]
body = { "username": "", "password": "", "confirm-password": "", }
-
DELETE:
/api/user/profile?email=[email]&token=[token]
- Section
- POST:
/api/update/section/unlock?email=[email]&id=[id]&token=[token]
- POST:
/api/update/section/lock?email=[email]&id=[id]&token=[token]
- POST:
- Bag
- POST:
/api/update/bag/add?email=[email]&item=[item]&token=[token]
- POST:
/api/update/bag/remove?email=[email]&item=[item]&token=[token]
- POST: