StartApp
Simple boilerplate ready for development
Notes
- Currently supported frameworks are: FastApi, Flask
🔨 Installation
$ sudo pip3 install startapp
🕹 Guide
startapp --help
- Type startapp on terminal press enter, questions will promt on terminal choose accroding to your taste.
Right after your choice do the followings accrodingly:
for fastapi:
source .venv/bin/activate
export settings=dev
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8007
for flask:
source .venv/bin/activate
pip install -r requirements.txt
export FLASK_APP=app.app
export settings=dev
flask run
Flask Structure
├── app
│ ├── controllers
│ │ ├── app.py
│ │ └── __init__.py
│ ├── __init__.py
│ ├── models
│ │ ├── __init__.py
│ │ └── models.py
│ ├── serializers
│ │ ├── __init__.py
│ │ └── serializer.py
│ └── utils.py
├── app_init
│ ├── app_factory.py
│ ├── __init__.py
│
│
│
├── extensions
│ ├── db_conf.py
│ ├── extension.py
│ ├── __init__.py
│
│
│
├── prestart.sh
├
│
├── README.md
├── requirements.txt
├── server.py
├── settings
│ ├── devsettings.py
│ ├── prodsettings.py
│ ├── settings.py
│ └── testsettings.py
└── tests
├── __init__.py
└── test.py
FastApi Structure
├── app
│ ├── controllers
│ │ ├── controller
│ │ │ ├── controller.py
│ │ │ └── schemas.py
│ │ └── __init__.py
│ ├── data
│ │ ├── __init__.py
│ │ └── models.py
│ ├── __init__.py
│ ├── main.py
│ └── utils
│ ├── helpers.py
│ └── __init__.py
├── container.sh
├── core
│ ├── dbsetup.py
│ ├── extensions.py
│ ├── factories.py
│ ├── __init__.py
│ └── settings
│ ├── devsettings.py
│ ├── __init__.py
│ ├── prodsettings.py
│ └── settings.py
├── Dockerfile
├── prestart.sh
├── README.md
├── req.txt
├── requirements.txt
└── start.sh
Supported OS
Linux, MacOS
🌱 Contributing
Fell free to open issue and send pull request.
startapp supports Python >= 3.6
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
startapp-0.2.0.0.tar.gz
(16.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file startapp-0.2.0.0.tar.gz.
File metadata
- Download URL: startapp-0.2.0.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5626f2eec33b3a9adc4d7ba7b1cd67b6b0e7b6af1e1dab39dbfa6e7f56333b66
|
|
| MD5 |
9fb41b328fc9303fe9802b63f98ec570
|
|
| BLAKE2b-256 |
df3787403a3f3950f031590b8ddf17aba88bd06cc36d2c981f7d15e22136c510
|
File details
Details for the file startapp-0.2.0.0-py3-none-any.whl.
File metadata
- Download URL: startapp-0.2.0.0-py3-none-any.whl
- Upload date:
- Size: 25.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b32d9c8f28588f407e6a2f4b763ff4f6cd0d72e9ff0296a87b612e44616362c
|
|
| MD5 |
9a0fce437531405ae1f5760b666f1486
|
|
| BLAKE2b-256 |
4c2e5a9eb09805375e3f436b02b3bec773cec8c6c0a0f76bf6dbd4a49e2177b2
|