Skip to content

anishkumar127/video-sharing-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

FrontEnd -

https://video-sharing-app-yt.vercel.app/

BackEnd -

https://agreeable-bat-gown.cyclic.app/api/videos/random

1. Auth API

  1. Sign IN API
localhost:5000/api/auth/signin
{
	"name":"test5",
	"password":"1234"
}
  1. Sign UP API
localhost:5000/api/auth/signup
{
	"name":"test5",
	"email":"[email protected]",
	"password":"1234"
}

2. User/Channel API

  1. update user
localhost:8800/api/users/637343eb0f7b8d2ed2e93ffe
{
	"name":"updated2"
}
  1. delete user
localhost:8800/api/users/637343eb0f7b8d2ed2e93ffe
  1. unsub a channel
localhost:8800/api/users/unsub/63737d7f1fdf7cc8f924573f
  1. sub a channel
localhost:8800/api/users/sub/63737d7f1fdf7cc8f924573f
  1. dislike a video
localhost:8800/api/users/dislike/63737dac1fdf7cc8f9245742
  1. like a video
localhost:5000/api/users/like/63737dce1fdf7cc8f9245745
  1. update view a video
localhost:8800/api/videos/view/63737dce1fdf7cc8f9245745

3. User Find

  1. find a user
localhost:5000/api/users/find/63737d7f1fdf7cc8f924573f

4. Comments

  1. Get all comments
localhost:8800/api/comments/63737d7f1fdf7cc8f924573f
  1. add comment a video
localhost:8800/api/comments
{
	"desc":"third comment ",
	"videoId":"63737d7f1fdf7cc8f924573f"
}

5. Videos

  1. trending videos
localhost:5000/api/videos/trend
  1. get single video
localhost:5000/api/videos/find/63737d7f1fdf7cc8f924573f
  1. get by query search
localhost:8800/api/videos/search?q=2nd
  1. get by tags
localhost:8800/api/videos/tags?tags=py
  1. get random video
localhost:5000/api/videos/random
  1. subscribed channel video
localhost:5000/api/videos/sub
  1. add a video
localhost:8800/api/videos
{
	"title":"the best video from 3rd user",
	"desc":"test desc",
	"imgUrl":"test",
	"videoUrl":"test"
}

Videos API

User/Channel API

Comments API

Auth API