Giter Club home page Giter Club logo

artist-map's Introduction

Artist Map

Explore band gigographies. Created with Mapbox, React, Redux, Songkick API, and Express.

Demo @ https://artistmap.herokuapp.com.

Screenshot


Getting Started

Install Dependencies

Run ./install.sh. Alternatively, you can run yarn install in both the root and in /src/server.

Getting a Songkick API key and a Mapbox public token

This project utilizes the Songkick API for artist and concert data and Mapbox GL for visualization.

If you don't have a Songkick API key you can apply for one here. If you don't have a Mapbox public token you can get one by making a Mapbox account here.

Storing API Keys

You'll need to supply your own Songkick key and mapbox public token.

Mapbox

Add your public token to /src/client/config.js. It should look like the following:

export const MAPBOX_TOKEN = // YOUR MAPBOX PUBLIC TOKEN

Songkick

Add your Songkick key to /src/server/.env. It should look like the following:

SONGKICK_KEY = # YOUR SONGKICK API KEY

config.js and .env have been added to the .gitignore, but it's probably worth the check to see if they are being ignored in your environment as to keep your key and token safe.


Running

yarn dev will start both the react app and express API server. Alternatively, you can run the react app with yarn client and the express API server with yarn server.


Contributing

If you'd like contribute feel free to create a pull request.

Higher Priority

  • Fix bug in search causing error fetching (proxy and .env problem)
  • Move songkick api calls over to backend
  • Update README for .env file
  • Add number of concert results to response
  • Migrate from markers to a cluster layer
  • Update cluster style expressions to better fit data
  • Fallback to city coordinates if no venue coordinate data
  • Concert API to return geojson data instead of concert array
  • Deployment for demo
  • Search suggestions
  • Loading animation
  • Grab more search suggestions (25?), only send the most popular 5 back to client
  • UI animations with react-pose
  • Popup if search found no artist matches
  • Handle api timeouts (migrate from fetch to axios)

Lower Priority

  • Filter server data to only include salient properties (artistId, artistName, venueId, venueName, venueLocation, cityName, cityLocation, date)
  • Add Popup on individual venue points
  • Add songkick credits
  • Create production script

artist-map's People

Contributors

d-rowe avatar dependabot[bot] 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.