Files
workspace/apps/whatsapp-sync/package.json
gabspereira 744868caa1 feat(go-crm): full auth, routing, middleware, and supporting infra
- 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
2026-05-23 16:55:55 -03:00

32 lines
766 B
JSON

{
"name": "whatsapp-sync",
"version": "1.0.0",
"description": "WhatsApp message sync service",
"private": true,
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js",
"sync": "node src/sync.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"dependencies": {
"better-sqlite3": "^12.8.0",
"node-cron": "^4.2.1",
"qrcode-terminal": "0.12.0",
"sql.js": "1.10.2",
"whatsapp-web.js": "^1.34.7"
},
"devDependencies": {
"@babel/preset-env": "^7.29.2",
"@types/jest": "29.5.12",
"@types/node": "20.11.0",
"@types/sql.js": "1.4.9",
"eslint": "8.57.0",
"jest": "29.7.0",
"ts-jest": "29.1.2",
"typescript": "5.3.3"
}
}