This repository contains a collection of microservices that power the backend of the application.
The project consists of the following microservices:
Service | Description | Port |
---|---|---|
messenger-api-service | API for messenger integration | 7999 |
file-service | Service for file management | 52001 |
telegram-bot-service | Telegram bot integration | 7998 |
message-processing-service | Message processing and handling | 8001 |
whatsapp-service | WhatsApp integration | 52101 |
data-service | Admin Panel | 3000 |
mongo-service | MongoDB database | 27017 |
presentation-service | Data presentation service | 52003 |
classification-service | Classification service | 52004 |
To start the project:
docker compose up
For each Python-based microservice:
- Navigate to the service directory
- Start the service (all dependencies will be installed automatically):
uv run poe start
For Node.js-based services:
- Navigate to the service directory
- Install dependencies:
npm i
- Start the service (e.g., for WhatsApp service):
node whatsapp.js
Creating a User
647B div>After starting the project, you can create a new user by sending the following API request:
curl -X POST \
http://localhost:3000/api/users \
-H "Content-Type: application/json" \
-d '{
"username": "newuser",
"password": "securepassword123",
"name": "New User",
"role": "admin"
}'
This will create a new admin user that can access the system.
Environment variables are loaded from the .env
file in the root directory.
Variable | Description |
---|---|
LLM_SERVICE_URL | URL to the Nexus LLM server (esoteric-ai/nexus) |