https://github.com/geraintluff/json-mockup
Mock up a JSON API for demo purposes
https://github.com/geraintluff/json-mockup
Last synced: about 1 month ago
JSON representation
Mock up a JSON API for demo purposes
- Host: GitHub
- URL: https://github.com/geraintluff/json-mockup
- Owner: geraintluff
- Created: 2013-05-16T21:27:24.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-17T19:01:26.000Z (about 13 years ago)
- Last Synced: 2025-03-23T15:16:34.850Z (about 1 year ago)
- Language: PHP
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
json-mockup
===========
Mock up a JSON API for demo purposes (PHP, with planned Node support)
Basically, the config file contains a series of rules (e.g. URI Templates to match, query parameters, request method) and then hard-code a response.
There's even some very rudimentary state, which can allow you to simulate interactivity.
Have a look at `config.json` to see how it works, or extract it yourself, and navigate to `/demo.php/intro/`.