Flashcards HTMX frontend – WIP

Unit Tests Coverage Status License: AGPL v3 Code on: GitHub Code style: Black

Flashcards’ frontend built on top of FastAPI and HTMX.

NOTE: This is a work-in-progress, not running application. Do not expect it to just download it and be able to run it if you’re not familiar with Python and HTMX.

Contribute

> python3 -m venv venv
> source venv/bin/activate
> pip install -e .[dev]
> pre-commit install
> uvicorn flashcards_htmx.app:app --reload   # or python flashcards_htmx/main.py
INFO:     Started server process [XXXX]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO:     127.0.0.1:60494 - "GET / HTTP/1.1" 200 OK

... do some changes ...

> pytest

The pre-commit hook runs Black and Flake8 with fairly standard setups. Do not send a PR if these checks, or the tests, are failing.

GitHub

View Github