Added code for backend glue

This commit is contained in:
2025-10-13 19:20:24 -04:00
parent 692b069b5b
commit 29a451ab58
25 changed files with 1063 additions and 0 deletions

9
backend/Makefile Normal file
View File

@@ -0,0 +1,9 @@
build:
mkdir -p bin && go build -o bin/mind ./cmd/mind
run: build
DB_DSN="user:pass@tcp(localhost:3306)/mind?parseTime=true" \
JWT_SECRET="devsecret" PORT=8080 ./bin/mind
migrate:
go run ./cmd/mind --migrate