Implement: Project scaffolding, Go module, and configuration layer #13
Labels
No labels
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:prototype
wayfinder:research
wayfinder:research
wayfinder:task
wayfinder:task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gaetan/knowledgify#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wayfinder map: #1
Dependencies: none (first ticket)
Description
Set up the project foundation: Go module, directory structure, configuration, and a minimal main entry point.
Tasks
go mod init knowledgifymodernc.org/sqlitedependency to go.modcmd/knowledgify/— main entry pointinternal/config/— configuration packageinternal/content/— content loading packageinternal/database/— database layer packageinternal/review/— review engine packageweb/handlers/— HTTP handlersweb/templates/— HTML templatesweb/static/— static assets (CSS, JS)content/— JSON content filesinternal/config/):KNOWLEDGIFY_DBenv var./knowledgify.db.gitignorewithknowledgify.dband build artifactscmd/knowledgify/main.go):go build ./cmd/knowledgify/succeeds, binary runs and prints the messageAcceptance criteria
go build ./cmd/knowledgify/succeedsknowledgify.dbis in .gitignore