Skip to content

Simple React App using TMDB Api for movies, tv shows, people and torrents for movies.

Notifications You must be signed in to change notification settings

afzaalb/watch-mo

Repository files navigation

Watch-Mo

Simple React App using TMDB api for movies, tv shows and people. Torrents for movies are also supported in v1.1.0 and above. Have a look at the web app here.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To get started with this project, you need to get an api key from TMDB. Get it here.

Installation

Get a copy of the project by clicking Clone or Download button.

Install node modules.

npm install

Create a .env file in root directory and add TMDB_KEY: KEY_YOU_GOT_FROM_TMDB. You can also modify your api configuration parameters in src/constants/index.

Start your application. This command will also watch for changes in your files.

npm start

For api options and methods details: Documentation

Production Ready

To get the production ready build.

npm run production

This will create the production ready assets in dist in your root directory.

After this step its your choice to serve it as you may like.

One of the most common approaches it to use a node server. Simply run node server.js command in the project root and it'll start serving your production build. Other approaches could be using pm2 which is a node process manager or using Verce or Netlify.

Built With

Authors