Skip to content

REST service and VueJS frontend that connects with TheMovieDB

Notifications You must be signed in to change notification settings

ftovaro/themoviedb

Repository files navigation

TheMovieDBftovaro

This is an API where you can store movies that are published in TheMovieDB.

Once the movies are stored in our DB, you can easily search and filter the movies.

Installation

First of all, this app was created with Ruby 2.6.4 and Rails 6.0.2.1. We use Postgresql as DB so get that ready before anything, also, we use Node 10.14.1.

After you have cloned the project, go inside the folder and run bundle install, then rails db:create db:migrate db:seed.

Once done, you can start the server with rails s

Testing

This project uses Rspec for testing, we have models, controllers, and services tests, don't forget to check them out!.

To run the tests just run rspec spec

Deployment

This API is currently online and deployed in Heroku and can be used by anybody.

URL: https://moviedbftovaro.herokuapp.com/

Wiki

Find more about this cool API and its endpoints here

How to make it ​high-volume​

First, I'd use Algolia with InstantSearch to manage the search in the webpage and use Sidekiq to manage concurrency and avoid making request in the main thread to an external service as TheMovieDB and calls to the Database

About

REST service and VueJS frontend that connects with TheMovieDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages