Add full project structure: backend, frontend, Docker, and CI workflows

- Organize backend into src/ (routes/, services/, db/) per package.json entrypoint
- Add migrations/import-mdb.js for one-time .mdb → SQLite migration
- Add public/ frontend: check ledger table, slide-in new/edit panel, PDF generation
- Add docker/Dockerfile and docker-compose.yml for self-hosted deployment
- Add .github/workflows: Docker Hub build+push on main/tags, TODO→Issues scanner
- Add GnuMICR font files (GPL-2.0) for MICR E-13B line rendering
This commit is contained in:
2026-03-12 10:29:36 -06:00
parent 9fcb31ba0d
commit e252ddb952
35 changed files with 4112 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
services:
ezcheck:
build:
context: .
dockerfile: docker/Dockerfile
container_name: ezcheck
restart: unless-stopped
ports:
- "3000:3000"
volumes:
# Persistent data: SQLite DB lives here
- ezcheck-data:/app/data
- ./fonts:/app/fonts:ro
environment:
- NODE_ENV=production
- PORT=3000
- DB_PATH=/app/data/ezcheck.db
# Full path to MICR font inside container
- MICR_FONT_PATH=${MICR_FONT_PATH}
volumes:
ezcheck-data: