ghostly08 / API_video_rent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

"API Video Rent" is a Rails-based API exercise that offers various endpoints for displaying lists of movies, seasons, and user details. Additionally, the API allows users to retrieve information about their purchases and determine which of these purchases are still available.

Endpoints:

Return a single list of movies and seasons, ordered by creation. http://localhost:3000/

Return the movies, ordered by creation. http://localhost:3000/movies

Return the seasons ordered by creation, including the list of episodes ordered by its number. http://localhost:3000/seasons

Return Users http://localhost:3000/users

Return the library of a user ordered by the remaining time to watch the content. http://localhost:3000/users/1/purchases

Requirements:

To run this app, you will need the following dependencies installed:

Ruby 3.1.2 or higher
Rails 7.0.4 or higher
PostgreSQL 14.7 or higher
  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

About


Languages

Language:Ruby 95.0%Language:Dockerfile 4.1%Language:HTML 0.5%Language:Shell 0.4%