Files
tickte-system/README.md
2025-12-17 17:55:13 +01:00

68 lines
1.5 KiB
Markdown

# WOMS 2.0 - Work Order Management System
React-basiertes Ticket-Management-System mit Appwrite Backend.
## Setup
### 1. Dependencies installieren
```bash
npm install
```
### 2. Appwrite konfigurieren
Erstelle eine `.env` Datei basierend auf `.env.example`:
```env
VITE_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
VITE_APPWRITE_PROJECT_ID=your-project-id
VITE_APPWRITE_DATABASE_ID=woms-database
```
### 3. Appwrite Database Schema
Erstelle folgende Collections in deiner Appwrite-Datenbank:
#### Collection: `workorders`
| Attribut | Typ | Required |
|----------|-----|----------|
| title | string (255) | ✓ |
| description | string (5000) | |
| status | string (50) | ✓ |
| priority | integer | ✓ |
| type | string (50) | |
| customerId | string (50) | |
| customerName | string (255) | |
| assignedTo | string (50) | |
| assignedName | string (255) | |
| response | string (50) | |
| createdAt | datetime | |
#### Collection: `customers`
| Attribut | Typ | Required |
|----------|-----|----------|
| name | string (255) | ✓ |
| email | string (255) | |
| phone | string (50) | |
#### Collection: `users`
| Attribut | Typ | Required |
|----------|-----|----------|
| name | string (255) | ✓ |
| email | string (255) | ✓ |
| role | string (50) | |
### 4. App starten
```bash
npm run dev
```
## Features
- Ticket-Erstellung und -Verwaltung
- Status-Tracking (Open, Occupied, Assigned, Awaiting, Closed)
- Prioritäts-Management (Low, Normal, High, Critical)
- Filter und Suche
- Datei-Uploads
- Dashboard mit Statistiken
- Planboard für Terminplanung