https://github.com/dmuhs/falcon-quickstart
https://github.com/dmuhs/falcon-quickstart
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmuhs/falcon-quickstart
- Owner: dmuhs
- License: mit
- Created: 2024-06-15T12:53:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T08:36:05.000Z (8 months ago)
- Last Synced: 2025-03-18T20:48:07.122Z (4 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 messagesThe 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
```