Skip to content

micksp/rest-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%