Giter Club home page Giter Club logo

love-my-movies's Introduction

lmm

After having our own html, css setup from Figma UIUX class

We are going to reuse this design to have a "Like/Dislike | Recommend/Not Recommend | Love/Hate" my Movies app


๐ŸŽฅ Result

The app will look like this:

Image

  • You will display the movie poster as an icon. (poster_path field)
  • Movie Title (original_title field)
  • Free Field (choose wisely the field you wish to display)
  • The movie plot/synopsis (overview)
  • Two vote buttons (UP/DOWN) which will increase/decrease the vote_count
  • Vote Count which will initialize at vote_count
  • Feel free to modify the layout to add anything you want. some suggested fields to display:
    • vote_average
    • runtime
    • genres
    • homepage
    • imdb_id (prob generate an IMDb link)
    • popularity

here only one box is shown, obviously you will work with a variable list of movies.

Usage

$ docker-compose up -d --build

#copy the result of this command and add :5000 in your browser to see the webapp

$ docker-machine ip default

The Movie Database API

We are going to use The Movie Database API 3 TMDd to retrieve our initial data.

You better create your own account and respect the request limits, that I why I'm including some .json files already.

This is the API's full URL

Some Examples

The Request URL was

https://api.themoviedb.org/3/discover/movie?api_key=<<api_key>>&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=false&page=1

I replaced <<api_key>> with my own API_KEY

Which resulted in discover_movies.json

The Request URL was

https://api.themoviedb.org/3/movie/475557?api_key=<<api_key>>

Which gave me joker_movie_details.json

Request URL was

https://api.themoviedb.org/3/trending/movie/week?api_key=<api_key>>

Which gave me trending_movies.json

Not Extras, but required (MUST)

  • Use Flask as backend (for now)
  • Use Redis as the counter DB (incr/decr vote_count)
  • Use Redis to store any details or additional info for the movies (JSON respond)
  • Use Redis as a cache.
  • CI/CD (you can use GithubActions (beta) / Gitlab CI /Travis/ Circle CI)
  • Dockerfile with a valid docker build & push to a valid Docker Hub repository.
  • A good html/css layout of your own.
  • Modularize everything with files and functions.
  • Use javascript to "Click and show more details of the movie"
  • IT WILL NOT RUN under python, but Docker, you must provide under the README's Usage how to run it using Docker commands

You already now how to deliever it ;)

  • FORK it
  • WORK it
  • GIT TAG it
  • DELIVER it

love-my-movies's People

Contributors

elguetajj avatar jmarcos-cano avatar

Watchers

 avatar

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.