Giter Club home page Giter Club logo

review-movie's Introduction

Review Movie

Cinema is the most beautiful fraud in the world. โ€“ Jean-Luc Godard

Review Movie inspired by TMDb with a movie dataset of over 27,000 movies, more than 20 genres.

Screenshoot for Kamu's multiple libraries

Features

Requirements

  • Python 3.8+ for API
  • Node.js 14+ for Frontend

Installation / Getting started

Here is a quick step-by-step minimal setup, to get the app up and running in your local workstation:

Platform independent

Move to API

cd api

Create Python virtual enviroment:

python3 -m venv venv

Activate virtual enviroment (this command can change based on OS):

source venv/bin/activate

Install backend dependencies using pip:

pip install -r requirements.txt

Create database tables:

python manage.py migrate

Create a super user:

python manage.py createsuperuser

Seed the database with initial dump data:

python3 manage.py runscript load_data

Index data for elasticsearch (Make sure you installed Elasticsearch in your machine)

python3 manage.py search_index --rebuild

Install dependencies using npm for Frontend:

cd frontend
npm install

Start your local server:

npm start

After finished config for API and Frontend. Now just go to http://localhost:3000 in your browser :)

Using Docker for local development

Remember to create a .env file with all the environment variables you need for spining up the environment.

For building the image:

  make docker-build

Create database tables:

  make docker-migrate

Create a super user:

  make docker-createsuperuser

You will use this super user to login as administrator in your local application.

Seed the database with initial dump data:

  make docker-loaddata

Index the data for Elasticsearch:

  make docker-indexdata

Now just go to http://localhost:3000 in your browser :)

Stop your environment:

  make docker-down

Have fun :)

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.