Skip to content

amanjha491/aiCrmAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI CRM Assistant

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.

Quick Start

  1. Start the PostgreSQL Database
docker-compose up -d
  1. Install Backend Dependencies
cd backend
npm install
  1. Configure Environment Update your .env file in the backend folder with your actual GROQ_API_KEY and change JWT_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_..."
  1. Push Prisma Schema to Database
npx prisma db push
  1. Start the Server
npm run dev
  1. Run the integration tests using Postman, Insomnia or VS Code's REST Client using tests.http.

About

AI CRM Assistant converts casual chat into structured CRM leads using Agentic AI. Node.js backend → OpenAI extracts JSON → PostgreSQL saves with JWT auth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors