A simple web app for epigrams
The development environment is built around docker, alleviating the need to manage python and node versions.
The only system dependecy is docker (compose).
Build images for frontend and backend:
docker compose build
The database can be populated from fortune-mod's dat files:
docker compose run --rm service python -m fortunate.populate
However, this can take some time, so a faster option is to use the populated sample database:
cp sample_sqlite.db sqlite.db
Run the application locally:
docker compose up
View the app: localhost:5173
Or check out the api: localhost:8000/docs