Added tests, shift 'delete'. Fixed overnight shifts, sync, error handling.

This commit is contained in:
Pen Anderson 2026-03-03 12:50:24 -06:00
parent 9d0fa1f0af
commit f9c4facad6
21 changed files with 2522 additions and 40 deletions

View file

@ -1,4 +1,4 @@
.PHONY: build frontend-build dev clean
.PHONY: build frontend-build dev clean test
build: frontend-build
CGO_ENABLED=0 go build -o turnpike .
@ -11,6 +11,10 @@ dev:
@echo " Terminal 1: go run . --db dev.db"
@echo " Terminal 2: cd frontend && npm run dev"
test:
go test ./...
cd frontend && npx vitest run
clean:
rm -f turnpike dev.db
rm -rf frontend/dist