A CLI tool for generating FastAPI projects and apps
Project description
# FastBrick 🚀
A simple CLI tool to generate FastAPI project structures.
## Installation
Install FastBrick using:
```sh
pip install fastbrick
```
## Run Server
Start the FastAPI server with:
```sh
uvicorn main:app --reload
```
## Project Structure
```
myproject/
│── main.py # Entry point for FastAPI app
│── routes.py # Contains 'custom_routes'
│── alembic.ini
│── models.py
│── schemas.py
│── middlewares/
│ ├── middleware.py # Global middleware logic
│── routers/ # API route modules
│── settings/
│ ├── database.py # Database configuration
│ ├── routing.py # Router configurations
│── alembic/
```
This structure ensures modularity and scalability for your FastAPI project. Adjust the folders and files as needed based on your project requirements.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastbrick-0.3.tar.gz
(2.0 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 fastbrick-0.3.tar.gz.
File metadata
- Download URL: fastbrick-0.3.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d56c258260b09a1551747c400f0b7119c1fd047fccff9eb21b48fab2c0f075c6
|
|
| MD5 |
98b5ea3f990b890eacbe43d8afc68aa7
|
|
| BLAKE2b-256 |
e96958f9bfcc3ff3ca782583e6eebbda5bbc4108e723b7d99b3d991e4425dab8
|
File details
Details for the file fastbrick-0.3-py3-none-any.whl.
File metadata
- Download URL: fastbrick-0.3-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efaca13d49a83479d227f86a0c1845a9da8da688a31c3e4cefd725720dcf132a
|
|
| MD5 |
356732ad3d16f6ef71e5dc7d026c5d30
|
|
| BLAKE2b-256 |
3feb054a34c36c6f022e5cba5a53e680b337b5ebf5574c95e1d89081815a6347
|