The Mini CRM Platform is designed to enable customer segmentation, personalized campaign delivery, and intelligent insights. It leverages modern technologies and approaches to provide a seamless experience for managing customer relationships and marketing campaigns.
- Data Ingestion APIs: Secure REST APIs for ingesting customer and order data with asynchronous processing using Kafka.
- Campaign Creation UI: A user-friendly web application for defining audience segments and creating campaigns.
- Campaign Delivery & Logging: Initiates campaigns and logs delivery statuses, simulating real-world delivery success and failure.
- Authentication: Google OAuth 2.0-based authentication to ensure secure access.
- AI Integration: Incorporates AI features for natural language processing, message suggestions, and performance summarization.
- Frontend: React.js with Vite and Tailwind CSS
- Backend: Node.js with Express
- Database: MongoDB
- Message Broker: Kafka for pub-sub architecture
- AI Tools: Integration with public AI APIs for enhanced functionality
segmentFlowAI
├── frontend
│ ├── src
│ ├── package.json
│ ├── vite.config.js
│ ├── tailwind.config.js
│ └── index.html
├── backend
│ ├── src
│ ├── package.json
│ └── server.js
├── kafka-consumers
│ ├── src
│ ├── package.json
│ └── index.js
├── vendor-api-simulator
│ ├── src
│ ├── package.json
│ └── server.js
├── docker-compose.yml
├── .env.example
└── README.md
- Node.js (v14 or higher)
- MongoDB
- Kafka
- Navigate to the
frontend
directory. - Install dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to the
backend
directory. - Install dependencies:
npm install
- Start the backend server:
npm start
- Navigate to the
kafka-consumers
directory. - Install dependencies:
npm install
- Start the Kafka consumers:
node index.js
- Navigate to the
vendor-api-simulator
directory. - Install dependencies:
npm install
- Start the vendor API simulator:
node server.js
- OpenAI API for natural language processing and message suggestions.
- Custom AI models for audience segmentation and campaign performance analysis.
- The AI features are dependent on the availability of external APIs.
- The system is designed for demonstration purposes and may require optimizations for production use.
This Mini CRM Platform serves as a comprehensive solution for managing customer relationships and marketing campaigns, integrating modern technologies and AI capabilities to enhance user experience and operational efficiency.# segmentFlowAI