GithubHelp home page GithubHelp logo

movie-search's Introduction

movie-search

Search for movies in react from the MovieDb

Requirements

For development, you will only need Node.js installed on your environement. Only visually tested on latest version of Chrome and Firefox

Yarn

Recommended to use Yarn rather than npm as all instructions will be written with yarn.

Node

Node is really easy to install & now include NPM. You should be able to run the following command after the installation procedure below.

$ node --version
v8.11.3

$ npm --version
5.60

Install

$ git clone [email protected]:wroughtec/movie-search.git
$ cd movie-search
$ yarn

Configure

An .env is committed into the repo this contains the API url and API key (this is bad practise but for this excerise will make life easier)

Run locally

$ yarn dev

This will run a server on localhost:1234 and create a folder called dist in the root of the repo (it is ignored). Any changes you make the files will be rebuilt

Build for production

@TODO

Tests

To run the tests

$ yarn test

TODOS

  • Add better error handling (create an error component)
  • Handle images (or lack thereof)
  • Add postCss tools to help deal with older browsers
  • Add search by genre
  • Colour code each genre
  • Refactor GenreTags so can be more reusable to handle the different data structures from the different endpoints
  • Clean up styling so pages actually look good
  • Add header and footer
  • Add pagination to search results
  • Add typeahead to search rather than on submit

Languages & tools

JavaScript

CSS

movie-search's People

Contributors

wroughtec avatar

Watchers

 avatar James Cloos 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.