Ein modernes CRM/Intranet-System für Lead-Management, Kundenbetreuung und Vertriebssteuerung.
- Python 3.12 mit FastAPI
- SQLAlchemy 2.0 (async) mit PostgreSQL
- Alembic für Datenbankmigrationen
- Pydantic für Validierung
- React 18 mit TypeScript
- Vite als Build-Tool
- Tailwind CSS für Styling
- Shadcn UI Komponenten
- TanStack Query für Data Fetching
- Docker und Docker Compose
- PostgreSQL 16
- Redis für Caching
- Docker und Docker Compose
- Node.js 20+ (für lokale Frontend-Entwicklung)
- Python 3.12+ (für lokale Backend-Entwicklung)
# Services starten
docker compose up -d
# Logs anzeigen
docker compose logs -fDie Anwendung ist dann erreichbar unter:
- Frontend: http://localhost:5173
- Backend API: http://localhost:8000
- API Dokumentation: http://localhost:8000/docs
cd backend
python -m venv venv
source venv/bin/activate # oder `venv\Scripts\activate` auf Windows
pip install -r requirements.txt
# Datenbankmigrationen ausführen
alembic upgrade head
# Server starten
uvicorn src.main:app --reloadcd frontend
npm install
npm run devintra/
├── backend/
│ ├── src/
│ │ ├── api/routes/ # API Endpoints
│ │ ├── core/ # Konfiguration, Datenbank
│ │ ├── models/ # SQLAlchemy Models
│ │ ├── schemas/ # Pydantic Schemas
│ │ ├── services/ # Business Logic
│ │ └── main.py # FastAPI App
│ ├── alembic/ # Migrationen
│ └── tests/ # Tests
├── frontend/
│ ├── src/
│ │ ├── components/ # React Komponenten
│ │ ├── pages/ # Seiten
│ │ ├── hooks/ # Custom Hooks
│ │ └── lib/ # Utilities
│ └── public/ # Static Files
└── docker-compose.yml
- ✅ Lead-Import: CSV/Excel Import, automatische Erfassung
- ✅ Kontaktsuche: Schnelle Autocomplete-Suche (<200ms)
- ✅ Callcenter-Ansicht: Zentrale Arbeitsübersicht
- ✅ Kontaktverlauf: Timeline aller Interaktionen
- ✅ Aufgabenverwaltung: Mit Folgeaufgaben
- ✅ E-Mail-Vorlagen: Template-basierter Versand
- ✅ Lead-Übersicht: Tabellarisch mit Filtern
- ✅ Landing Page: Lead-Formular mit Auto-Erfassung
GET /api/contacts- Liste mit PaginationGET /api/contacts/search?q=- AutocompleteGET /api/contacts/{id}- DetailPOST /api/contacts- ErstellenPUT /api/contacts/{id}- Bearbeiten
GET /api/leads- Liste mit FilternPOST /api/leads/import- CSV/Excel ImportPUT /api/leads/{id}- Status ändern
GET /api/tasks- Alle AufgabenGET /api/tasks/my- Meine AufgabenPOST /api/tasks/{id}/complete- Abschließen + Folgeaufgabe
POST /api/public/leads- Lead-Formular Submit
Backend (.env):
DATABASE_URL=postgresql+asyncpg://user:pass@localhost:5432/db
REDIS_URL=redis://localhost:6379/0
SECRET_KEY=your-secret-key
CORS_ORIGINS=http://localhost:5173Frontend (.env):
VITE_API_URL=http://localhost:8000Proprietary - Atikon Marketing & Werbung GmbH