Code Monkey home page Code Monkey logo

sf-film-map's Introduction

This is an app that allows users to query information about films that were shot in San Francisco. Users can search by film title and see multiple results appear on the map. Clicking on those results will display information about the film as well as any fun facts that may have been recorded. A suggested search term is "terminator" - clicking on the marker at 16th and Utah will display a fun fact about the filming of the movie "Terminator - Genisys".

Setup

To set up the project on your own machine, run npm install, then webpack and then open index.html, all in your terminal from within the same directory as this README.

About the project

This project was build using React and Redux (the npm libraries react, redux, and react-redux), bundled using Webpack, and transpiled using Babel.

It is only a frontend, relying entirely on two major backends: the SF Films database, and Google's Maps API. This was done partially to lighten the dev load, and partially just for the fun of it.

There are several flaws in the user interface, chief among them being that a user can only search for movies by title, and not actors, director, or release year. The main flaw (as I see it) in the app, however, is not related to the UI: because the app uses Google's geocoding service (part of their Maps API) to place the markers on the map, the app runs into load issues when too many queries get sent at once. A quick fix to that would be to implement a slight delay whenever a Geocoding request fails due to an OVER_QUERY_LIMIT error. A more robust fix might entail storing lat/lng data for each record in a proprietary database and using that to place markers on the map.

sf-film-map's People

Contributors

ragegage avatar

Watchers

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