odwetaandCopilot App d440788d0d Make invoice due date optional with 14-day default
Datum vystaveni defaults to today and Datum splatnosti defaults to
14 days after the issue date. Both fields are now optional date
inputs and only override the default when a user enters a custom
value. Applies to the invoice editor and generated PDF.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-09-10 17:29:19 +02:00
2026-09-10 12:43:40 +02:00
2026-09-10 12:43:40 +02:00
2026-09-10 12:43:40 +02:00

Fakturovac

A simple app for creating and managing invoices.

The app uses PostgreSQL for accounts, sessions, supplier profiles, and clients. Supplier and client data is private to the signed-in account.

To deploy, run:

make deploy

Or start the stack directly from this directory:

docker compose up --build

Then open http://localhost:3001 and create an account. PostgreSQL data is kept in the postgres-data Docker volume, so it survives app and container restarts. To remove the database as well, run docker compose down -v.

CI/CD

On every push to main, GitHub Actions (.github/workflows/ci-cd.yml) runs the test suite, then builds and publishes a dev image to the GitHub Container Registry:

ghcr.io/odweta/fakturovac:dev

A commit-pinned tag (ghcr.io/odweta/fakturovac:dev-<short-sha>) is published alongside :dev for traceability. Pull requests only run the test job.

To pull and run the latest dev image in a testing environment:

docker login ghcr.io -u <your-github-username>   # only needed if the package is private
docker pull ghcr.io/odweta/fakturovac:dev
docker run -d -p 3001:3001 \
  -e DATABASE_URL=postgres://fakturovac:fakturovac@<db-host>:5432/fakturovac \
  -e NODE_ENV=production \
  ghcr.io/odweta/fakturovac:dev

The package's visibility (public/private) is managed under the repository's Packages settings on GitHub; no extra secrets are required since the workflow authenticates with the built-in GITHUB_TOKEN.

S
Description
No description provided
Readme GPL-3.0
176 KiB
Languages
JavaScript 66.1%
HTML 17.2%
CSS 16.2%
Makefile 0.3%
Dockerfile 0.2%