- Add auth handlers (signup, login, logout, account management) with bcrypt - Add client, customer, service, scheduling, payment, question, answer handlers - Add dashboard, monthly report, and lead pipeline pages - Add UTF-8 middleware to force charset on HTML responses - Add config package with env-based overrides for DB path, secrets, endpoints - Add parser package for WhatsApp message ingestion - Add clean-arch layers: pkg/domain, pkg/repo, pkg/usecase for leads - Add cmd/migrate utility for DB migrations - Add Makefile, README, run-tests.sh, and dev scripts - Update docker-compose.yml with memory limits - Update .air.toml to exclude DB files and stop on errors - Update whatsapp-sync dependencies and add src/index.js entrypoint - Add whatsme standalone WhatsApp reader app (source only) - Untrack .opencode-sandbox/data/go-crm.db from git history - Expand root .gitignore: ngrok, tmp dirs, sandbox DBs, compiled binaries
35 lines
755 B
TOML
35 lines
755 B
TOML
root_dir = "."
|
|
tmp_dir = "tmp"
|
|
|
|
[build]
|
|
bin = "./tmp/main"
|
|
cmd = "go build -buildvcs=false -o ./tmp/main ."
|
|
delay = 2000
|
|
exclude_dir = ["assets", "tmp", "vendor", "data", "node_modules", ".git"]
|
|
exclude_file = []
|
|
exclude_regex = ["_test.go", "\\.db$", "\\.db-journal$", "\\.db-shm$", "\\.db-wal$"]
|
|
exclude_unchanged = true
|
|
follow_symlink = false
|
|
full_screen = false
|
|
include_dir = ["internal"]
|
|
include_ext = ["go", "templ"]
|
|
kill_delay = "2s"
|
|
log = "build-errors.toml"
|
|
send_exit = false
|
|
send_user = false
|
|
stop_on_error = true
|
|
|
|
[log]
|
|
main_only = false
|
|
time = false
|
|
|
|
[misc]
|
|
clean_on_exit = false
|
|
dao = "0x60"
|
|
force_kill = true
|
|
kill = true
|
|
restart = true
|
|
|
|
[screen]
|
|
clear_on_rebuild = false
|
|
extra_resize = false |