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.6.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for json_server.py-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5289338a0d45a0f0c216142a8f3208ae05d92442fd060d09363f2aed5fe4eb0 |
|
MD5 | 057dfeb50397d08da65d507d75844e97 |
|
BLAKE2b-256 | fe92087fd7b52c715a893b815aa5216bcd4824bd5120974404e9f12093b44843 |