Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gutierri/bozbo
Fast Fake API for prototype with CFG setup
https://github.com/gutierri/bozbo
fake-api fake-api-json-server python python-rest
Last synced: about 1 month ago
JSON representation
Fast Fake API for prototype with CFG setup
- Host: GitHub
- URL: https://github.com/gutierri/bozbo
- Owner: gutierri
- License: gpl-3.0
- Created: 2019-05-20T18:26:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T17:36:20.000Z (over 4 years ago)
- Last Synced: 2023-10-23T20:24:36.990Z (about 1 year ago)
- Topics: fake-api, fake-api-json-server, python, python-rest
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===============
bozbo
===============Fast Fake API with simple setup using CFG files.
Install and usage
===================
Install bozbo.. code-block:: bash
$ pip3 install git+https://github.com/gutierri/bozbo
Create a file routes.cfg with:
.. code-block:: cfg
[my-endpoint]
methods = get
response = name
addressRunning:
.. code-block:: bash
$ bozbo
Bottle v0.12.16 server starting up (using WSGIRefServer())...
Listening on http://localhost:8080/
Hit Ctrl-C to quitTo receive JSON response, just access **localhost:8080/my-endpoint**