https://github.com/fastack-dev/fastack
Experimental framework built on FastAPI which combines some of the features of top python web frameworks !
https://github.com/fastack-dev/fastack
fastapi python
Last synced: over 1 year ago
JSON representation
Experimental framework built on FastAPI which combines some of the features of top python web frameworks !
- Host: GitHub
- URL: https://github.com/fastack-dev/fastack
- Owner: fastack-dev
- License: mit
- Created: 2021-12-16T13:18:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T16:54:26.000Z (over 1 year ago)
- Last Synced: 2025-02-28T23:52:00.768Z (over 1 year ago)
- Topics: fastapi, python
- Language: Python
- Homepage: https://fastack.readthedocs.io/en/latest/
- Size: 338 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Fastack
⚡ Fastack makes your FastAPI much easier 😎
fastack is an intuitive framework based on FastAPI, for creating clean and easy-to-manage REST API project structures. It's built for FastAPI framework ❤️
## WARNING 🚨
This is an early development, lots of changes with each release. Also this is an experimental project, as I'm currently studying asynchronous environments.
FYI, this isn't the only intuitive framework project I've made. I've also made with different framework bases, including:
* [zemfrog](https://github.com/zemfrog/zemfrog) - Based on [Flask framework](https://flask.palletsprojects.com)
* [falca](https://github.com/aprilahijriyan/falca) - Based on [Falcon framework](https://falconframework.org/)
## Features 🔥
* Project layout (based on cookiecutter template)
* Pagination support
* Provide a `Controller` class for creating REST APIs
* Provides command line to manage app
* Support to access `app`, `request`, `state`, and `websocket` globally!
* and more!
## Plugins 🎉
List of official plugins:
* [fastack-sqlmodel](https://github.com/fastack-dev/fastack-sqlmodel) - [SQLModel](https://github.com/tiangolo/sqlmodel) integration for fastack.
* [fastack-migrate](https://github.com/fastack-dev/fastack-migrate) - [Alembic](https://alembic.sqlalchemy.org/en/latest/) integration for fastack.
* [fastack-mongoengine](https://github.com/fastack-dev/fastack-mongoengine) - [MongoEngine](https://github.com/MongoEngine/mongoengine) integration for fastack.
* [fastack-cache](https://github.com/fastack-dev/fastack-cache) - Caching plugin for fastack
## Installation 📦
```
pip install -U fastack
```
## Example 📚
Create a project
```
fastack new awesome-project
cd awesome-project
```
Install pipenv & create virtual environment
```
pip install pipenv && pipenv install && pipenv shell
```
Run app
```
fastack runserver
```
## Documentation 📖
For the latest documentation, see the [feature/docs](https://github.com/fastack-dev/fastack/tree/feature/docs) branch.
Build the latest documentation locally:
```
mkdocs serve
```
Or alternatively, you can visit https://fastack.readthedocs.io/en/latest/
## Tests 🔬
Run tests with ``tox``, maybe you need to install python version `3.7`, `3.8`, `3.9`, and `3.10` first.
```
tox
```
