nosredna / json-server.py

Fake REST API with zero coding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json-server.py

PyPI

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

About

Fake REST API with zero coding


Languages

Language:Python 100.0%