Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```