Skip to content

hoangtien1005/animene-BE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

animene-BE

The back-end server for auth and social pages

Current API Endpoints:

Auth

[POST] /auth/login    Login user

[POST] /auth/signup    Signup user

[POST] /auth/reset-password    Reset user password


User

[GET] /user?page=1&perPage=50    Get a list of users

[GET] /user/:id    Get a user by id

[PUT] /user/:id    Update the current user

[DELETE] /user/:id    Delete the current user


[GET] /user/:id/favorites?page=1&perPage=50    Get a list of user favorites media

[POST] /user/:id/favorites    Create a new favorites media

[DELETE] /user/:id/favorites/:media_id    Delete the current favorites media



Favorites

[GET] /favorites?page=1&perPage=50    Get a list of all favorites media


Category

[GET] /category?page=1&perPage=50    Get a list of categories

[GET] /category/:id    Get a category by id

[POST] /category/    Create a new category

[PUT] /category/:id    Update the current category

[DELETE] /category/:id    Delete the current category

Releases

No releases published

Packages

No packages published