tonper19 / jsonserver

Fake REST API (https://github.com/typicode/json-server#install) + Traversy Media

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsonserver

Fake REST API (https://github.com/typicode/json-server#install) + Traversy Media

Github

https://github.com/typicode/json-server#install

Run server

npm run json:server

Database in the browser

http://localhost:3000/

Get all players born in November 1964

http://localhost:3000/players?birthYear=1964&birthMonth=11

Get a player by its ID

http://localhost:3000/players?playerID=abbated01

Get players bigger or equal to 82 inches (2.08 meters)

http://localhost:3000/players?height_gte=82

Do a full search on a string

http://localhost:3000/players?q=Molitor

About

Fake REST API (https://github.com/typicode/json-server#install) + Traversy Media

License:The Unlicense