https://github.com/alanbsmith/pizza-router-demo
an example client app using the React router
https://github.com/alanbsmith/pizza-router-demo
Last synced: over 1 year ago
JSON representation
an example client app using the React router
- Host: GitHub
- URL: https://github.com/alanbsmith/pizza-router-demo
- Owner: alanbsmith
- Created: 2015-09-19T16:56:20.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T02:40:20.000Z (over 10 years ago)
- Last Synced: 2025-02-02T19:29:36.918Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### DESCRIPTION
This is an example client application using the React Router for consuming a JSON API. It's designed to work with the [Pizza Repo API](https://github.com/stevekinney/pizza).
### UP & RUNNING
- clone the repo and run `git checkout getting-started`
- to install the node modules run `npm install`.
- run `npm start` and visit http://localhost:8080/
If you see 'Hello, World' in the browser, you're good to go!
### USING THE PIZZA API
- clone the [Pizza Repo](https://github.com/stevekinney/pizza) and run `bundle install`
- run `rackup` and visit 'http://localhost:9292/api/v1/pizzerias'
If you get back some JSON, you're all set!
There's also thorough documentation on using the API [here](https://github.com/stevekinney/pizza/blob/master/docs/using_the_api.md).