A template to deploy JSON Server to Vercel, allow you to run fake REST API online!
Demo from this repository:
- Click "Use this template" or clone this repository.
- Update or use the default
db.json
in the repository. - Sign Up or login into Vercel.
- From the Vercel dashboard, click "+ New Project" then "Import" your repository.
- In the "Configure Project" screen, leave everything default and click "Deploy".
- Wait until deployment is done, and your own JSON server is ready to serve!
{
"posts": [{ "id": 1, "title": "json-server", "author": "typicode" }],
"comments": [{ "id": 1, "body": "some comment", "postId": 1 }],
"profile": { "name": "typicode" }
}
- https://github.com/typicode/json-server
- https://vercel.com
- https://shadowsmith.com/how-to-deploy-an-express-api-to-vercel
Get pokemon image by ID https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/132.png