Backend for always-stream
- ExpressJs
- mongoDB
- mongoose
- NodeJs
-
- [POST]
/api/auth/signup
- [POST]
/api/auth/login
- [POST]
-
- [GET]
/api/videos
- [GET]
/api/videos/:id
- [GET]
-
- [GET]
/api/categories
- [GET]
/api/categories/:id
- [GET]
-
- [GET]
/api/user/likes
- [POST]
/api/user/likes
- [DELETE]
/api/user/likes/:videoId
- [GET]
-
- [GET]
/api/user/watchlater
- [POST]
/api/user/watchlater
- [DELETE]
/api/user/watchlater/:videoId
- [GET]
-
- [GET]
/api/user/history
- [POST]
/api/user/history
- [DELETE]
/api/user/history/all
- [DELETE]
/api/user/history/:videoId
- [GET]
-
- [GET]
/api/user/playlists
- [POST]
/api/user/playlists
- [GET]
/api/user/playlists/:playlistId
- [POST]
/api/user/playlists/:playlistId
- [DELETE]
/api/user/playlists/:playlistId
- [DELETE]
/api/user/playlists/:playlistId/:videoId
- [GET]
docker run -p 3000:3000 -e MONGO_DB_URL="your_db_url" sanketdhabarde/always-stream-backend
docker-compose up