Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Latest commit 9f4b47b Feb 23, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data add nested versions of data Feb 22, 2018
src initial commit Feb 22, 2018
.gitignore initial commit Feb 22, 2018
README.md Update README.md Feb 22, 2018
package.json initial commit Feb 22, 2018
yarn.lock initial commit Feb 22, 2018

README.md

rest-demo

You can find more info about this repository and how to wrap the REST API it contains with GraphQL here.

The GraphQL API wrapping this REST API can be found here

Routes

/users
/users/<id>
/users/<id>/posts
/posts
/posts/<id>
/posts/<id>/user

To see the data returned by the routes, check users.json and posts.json.

Usage

git clone git@github.com:nikolasburk/rest-demo.git
cd rest-demo
yarn start

Sample requests:

Demo

You can find a live demo of the REST API here.

Sample requests:

You can’t perform that action at this time.