Self-hosted recipe and cooking notebook
The easiest way to get started is using the podman-compose.yaml
- Set up environment variables
Create a .env file in the project root:
Create a secret key: openssl rand -hex 32
POSTGRES_USER=admin
POSTGRES_PASSWORD=admin
POSTGRES_DB=recipebook
SECRET_KEY="SECRET-KEY"
REFRESH_SECRET_KEY="ANOTHER-SECRET-KEY"
ALGORITHM="HS256"
ACCESS_TOKEN_EXPIRE_MINUTES=30
EMAIL_BIDX_SECRET="YET-ANOTHER-SECRET-KEY"- Start the PostgreSQL database
podman compose up -d- Run the backend
cd backend
uv run run.pyThe API will be available at http://localhost:8000
- Install and run the frontend
cd frontend
pnpm install
pnpm run devThe application will be available at http://localhost:5173
To create a new user, navigate to http://localhost:5173/signup
See backend/app/utils/config.py for additional configuration options.
ruff format .cd frontend
pnpm run lint
pnpm run formatSee LICENSE file for details.