https://github.com/dmuhs/falcon-quickstart
https://github.com/dmuhs/falcon-quickstart
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmuhs/falcon-quickstart
- Owner: dmuhs
- License: mit
- Created: 2024-06-15T12:53:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T08:36:05.000Z (over 1 year ago)
- Last Synced: 2025-04-13T03:49:23.391Z (10 months ago)
- Language: Python
- Size: 262 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Falcon Quickstart Template
Quick and dirty Falcon API template. For when things need to get done *fast*. Features:
- Poetry setup
- Docker with Poetry installed
- SQLite backend with SQLAlchemy
- Small static landing page
- Rate limiter
- Size limiter
- Full loguru setup incl. gunicorn log messages
The template's purpose is to enable *fast* development of MVPs, PoCs and hackathon projects. All over
## Quickstart
Install dependencies:
```shell
poetry install
```
Run the service (listen on `127.0.0.1`):
```shell
DEVELOPMENT=true poetry run server
```
Build the image:
```shell
docker build -t falcon_quickstart:latest .
```
Run it:
```shell
docker run -p 8000:8000 falcon_quickstart
```