/roseflix-backend

The server side of my React.js implementation of Netflix. Movie data was pulled from TMDB and trailer videos from Youtube.

Primary LanguageTypeScriptMIT LicenseMIT

Heroku Status LinkedIn


Roseflix: A Netflix Clone (Backend)

Roseflix Screenshot

The server side of my React.js implementation of Netflix. Movie data was pulled from TMDB and trailer videos from Youtube.

View Demo »

Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact

About The Project

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Install latest version of npm

  • npm
    npm install npm@latest -g

Installation

  1. Clone the project
    git clone https://github.com/rosebilag/roseflix-backend.git
  2. Go to project directory and Install NPM packages
    npm install
  3. Create config.env file
  4. Create database at your preferred service (e.g. MongoDB Atlas) and add url to config.env
    DATABASE_URL=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  5. Add your preferred SECRET_KEY and PORT at config.env
    PORT=8080
    SECRET_KEY=xxxxxxxxxxxxxxx
  6. Start the application
    npm run dev

Usage

Creating an Account

  1. Go to Sign Up page.
    • From the homepage, enter your email and click 'Get Started'.
    • From Sign In page, click the 'Sign up now' link below 'Sign In' button.
  2. Input the necessary fields. Don't worry. It won't take long.
    • Both email and phone number has to be unique.
    • Display name will be used to autogenerate initial user profile.
  3. You'll be redirected to the login page. Enter your newly created credentials.

Logging In

  1. Go to Sign In page.
    • From the homepage, click 'Sign in' button.
    • From Sign Up page, click the 'Sign in now' link below 'Sign Up' button.
  2. Input the necessary fields and proceed.
    • You can sign in using either email or phone number.

Searching for a Show

  1. Log in and select a profile.
  2. Click the appropriate tab for your search.
    • If searching for a movie, click 'Movies' tab in the header.
    • If searching for a series, click 'TV Shows' tab in the header.
  3. Click the search icon on the header.
  4. Input your search term and press enter.
  5. To show all shows again, clear the search input and press enter.

Adding User Profile

  1. Log in to your account.
  2. Click 'Manage Profiles'.
  3. Click 'Add Profile'.
    • You can only add up to 5 profiles for each account.
  4. Click the pencil/edit icon and choose your preferred avatar.
  5. Enter your preferred display name and click 'Save'.
    • You can't use avatars and names already used by other profiles in the same account.

Editing User Profile

  1. Log in to your account.
  2. Click 'Manage Profiles'.
  3. Click the profile you wish to edit.
  4. Modify the profile as you see fit and click 'Save'.

Deleting User Profile

  1. Log in to your account.
  2. Click 'Manage Profiles'.
  3. Click the profile you wish to delete.
  4. Click 'Delete Profile'.
  5. Confirm deletion by clicking 'Yes'.

Contact

Rose Bilag - LinkedIn - hello@rosebilag.com

Project Link: https://github.com/rosebilag/roseflix-backend