Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.25 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.25 KB

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 [email protected]: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: