A simple JSON server
Project description
json-server.py
Fake REST API with zero coding.
This project is heavily inspired by json-server in JavaScript.
Requires Python 3.5+.
Usage
Usage: json-server [OPTIONS] [FILENAME]
Options:
-b, --bind TEXT the address to bind, default as `:3000`
--help Show this message and exit.
Examples
# Start with default config
$ json-server
# Listen on port 3000
$ json-server -b :3000
# Specify a json file
$ json-server db.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
json-server.py-0.1.5.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for json_server.py-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b9e72e2cc4a274ab562f4cee7ba0e0665b1b1dd0b6510aad41f8c5f2cc5e855 |
|
MD5 | 65a25610bc32072173998027e15a7a27 |
|
BLAKE2b-256 | 51271e5c2744ccab099fa9daca27a4d6c9ce23a3d6250783c13ae9e849912b9b |