A production-ready AI CRM Assistant mini-project demonstrating Agentic AI using Node.js, Express, PostgreSQL, Prisma, GROQ API, JSON Web Tokens (JWT), and Zod validation.
- Start the PostgreSQL Database
docker-compose up -d- Install Backend Dependencies
cd backend
npm install- Configure Environment
Update your
.envfile in thebackendfolder with your actualGROQ_API_KEYand changeJWT_SECRET.
PORT=3000
DATABASE_URL="postgresql://crm_user:crm_password@localhost:5432/crm_db?schema=public"
JWT_SECRET="your_secret_key"
GROQ_API_KEY="gsk_..."- Push Prisma Schema to Database
npx prisma db push- Start the Server
npm run dev- Run the integration tests using Postman, Insomnia or VS Code's REST Client using
tests.http.