Metadata-Version: 2.1
Name: json-server.py
Version: 0.1.6
Summary: A simple JSON server
Home-page: https://github.com/gera2ld/json-server.py
License: MIT
Author: Gerald
Author-email: gera2ld@163.com
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: aiohttp (>=3.6.2,<4.0.0)
Requires-Dist: click (>=7.0,<8.0)
Requires-Dist: gera2ld-pyserve (>=0.1.1,<0.2.0)
Project-URL: Repository, https://github.com/gera2ld/json-server.py
Description-Content-Type: text/markdown

# json-server.py

[![PyPI](https://img.shields.io/pypi/v/json-server.py.svg)](https://pypi.org/project/json-server.py/)

Fake REST API with zero coding.

This project is heavily inspired by [json-server](https://github.com/typicode/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

```sh
# Start with default config
$ json-server

# Listen on port 3000
$ json-server -b :3000

# Specify a json file
$ json-server db.json
```

