/rest-demo

Primary LanguageJavaScript

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: