Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teddyoweh/startapi
A command line interface aplication to create boilerplate code for developing APIs
https://github.com/teddyoweh/startapi
api boilerplate boilerplate-template fastapi flask flask-api startapi
Last synced: 8 days ago
JSON representation
A command line interface aplication to create boilerplate code for developing APIs
- Host: GitHub
- URL: https://github.com/teddyoweh/startapi
- Owner: teddyoweh
- License: gpl-3.0
- Created: 2022-06-14T04:53:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T12:07:31.000Z (over 2 years ago)
- Last Synced: 2024-09-16T04:41:45.400Z (about 2 months ago)
- Topics: api, boilerplate, boilerplate-template, fastapi, flask, flask-api, startapi
- Language: Python
- Homepage: https://pypi.org/project/startapi/
- Size: 14.5 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StartApi
A command line interface aplication to create boilerplate code for developing APIs Using either of the two most popular python modules, Flask and FastAPI## Installation
```sh
$ pip install startapi
```
## Usage
```py
from startapi import startapi
startapi()
```
##### Save the python file, eg (makeapi.py)### Using Arguments
```sh
usage: startapi [-h] [--a APPNAME] [--f FRAMEWORK]options:
-h, --help show this help message and exit
--a APPNAME API Service Name .
--f FRAMEWORK API Framework to use [Flask, FastAPI].
```### Running
```sh
$ python3 makeapi.py --a myapi --f fastapi
```