coffeedex
coffeedex copied to clipboard
openstreetmap but for coffee
COFFEE DEX
A collaborative solution to the problem of
How much does a cup of coffee for here cost, everywhere?
- A React application written in ES6 that uses 6to5 to make the code run everywhere.
- Uses Reflux for data flows.
- Uses react-router for manage pages
- Map data comes from the OpenStreetMap API 0.6 and Overpass API
- Authenticates against OpenStreetMap with osm-auth
- Uses Base for CSS
The code structure is simple: all JavaScript is in index.js.
Development
This project uses browserify to compile
the source code in index.js
into the bundle of JavaScript in bundle.js
that your browser interprets. You'll need node.js
to install the dependencies of this project and develop on it.
-
npm install
: install dependencies -
npm start
: start the development server that compiles your JavaScript and serves the site at http://localhost:3000/ -
npm run build
: build a production-readybundle.js
that you can commit and use on the public website.