My JSON Server

Fake Online REST server for teams

Create a JSON file on GitHub

github.com/user/repo/master/db.json
{
  "posts": [
    {
      "id": 1,
      "title": "hello"
    }
  ],
  "profile": {
    "name": "typicode"
  }
}

Get instantly a fake server

my-json-server.typicode.com/user/repo/posts/1
{
  "id": 1,
  "title": "hello"
}

How to

  1. Create a repository on GitHub (<your-username>/<your-repo>)
  2. Create a db.json file
  3. Visit https://my-json-server.typicode.com/<your-username>/<your-repo> to access your server

No registration. Nothing to install.

Example

You can check the following server as an example:
https://my-json-server.typicode.com/typicode/demo

Alpha

For the moment, the project is in alpha which means many things may change or break:

Use it at your own risk. If you need a reliable solution, please install JSON Server.

Limits

To be able to provide a free service to as many people as possible during this phase, the project comes with a few limits:

Roadmap

I hope to be able to support private repositories later and plan to improve this service regularly. To be notified of updates, you can follow me on Twitter @typicode.

Advices and feedbacks are welcome :)