
- Replaced Python/FastAPI implementation with Node.js/Express/TypeScript
- Added Prisma ORM with SQLite database
- Implemented JWT authentication with bcrypt password hashing
- Created comprehensive task management API with CRUD operations
- Integrated Twilio WhatsApp Business API for notifications
- Added OpenAI integration for intelligent task scheduling
- Implemented automated background jobs with node-cron
- Added comprehensive error handling and validation
- Structured logging with Winston
- Complete API documentation and setup instructions
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"name": "whatsapp-ai-task-scheduling-service",
|
|
"version": "1.0.0",
|
|
"description": "WhatsApp AI Task Scheduling Service built with Node.js, Express, and TypeScript",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
|
|
"lint": "eslint src/**/*.ts",
|
|
"lint:fix": "eslint src/**/*.ts --fix",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:migrate": "prisma migrate dev",
|
|
"prisma:studio": "prisma studio"
|
|
},
|
|
"keywords": ["whatsapp", "ai", "task-scheduling", "nodejs", "express", "typescript"],
|
|
"author": "BackendIM",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"express": "^4.18.2",
|
|
"express-rate-limit": "^7.1.5",
|
|
"helmet": "^7.1.0",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"joi": "^17.11.0",
|
|
"prisma": "^5.7.1",
|
|
"@prisma/client": "^5.7.1",
|
|
"twilio": "^4.19.0",
|
|
"openai": "^4.20.1",
|
|
"node-cron": "^3.0.3",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.21",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20.10.4",
|
|
"@types/node-cron": "^3.0.11",
|
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
"@typescript-eslint/parser": "^6.14.0",
|
|
"eslint": "^8.55.0",
|
|
"ts-node-dev": "^2.0.0",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
} |