- Sign in/ Sign up
- List videos sharing
- Sharing a video
- Notify a new video sharing
- Like/Unlike a video
- Ruby >= 3.3.0
- Rails >= 7.1.3.2
- Node >= 20
- NextJS >= 14
- Postgresql >= 14.7
# Setting up database:
bin/setup
# Up and running:
bin/rails s -b 0.0.0.0
# NEXT app
npm install && PORT=9000 npm run dev
- Docker
- Docker Compose
# Up and running:
docker compose up
# Run unit test
bundle exec rspec
# Run unit test
docker compose run backend bundle exec rspec
- You can switch between Sign In or Sign Up pages
- You can sign up without confirm your email address
- Paginate - Infinity scroll
- Like/Unlike
- User's sharing videos
- BASE_URL: https://video-sharing-sqba.onrender.com
- API lists:
- Signin: POST
/signin
- Signup: POST
/signup
- Signout: DELETE
/signout
- Share Video: POST
/videos
- List Videos: GET
/videos
- Vote a video: POST
/videos/{video_id}/vote
- Get Current user: GET
/current_user
- Signin: POST