Files
Team-status-board/README.md

61 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Team Status Board
Панель управления статусами команды.
## Стек
- **Бэкенд:** Python, FastAPI, SQLAlchemy, SQLite
- **Фронтенд:** React, Vite
- **API:** REST
## Быстрый старт
```bash
git clone <repository-url>
cd "Team status board"
./start.sh
```
Приложение будет доступно:
- Фронтенд: http://localhost:3000
- Бэкенд API: http://localhost:8000
## API Endpoints
| Метод | Endpoint | Описание |
|-------|----------|----------|
| GET | `/api/employees` | Получить всех сотрудников |
| POST | `/api/employees` | Добавить сотрудника |
| PUT | `/api/employees/{id}/status` | Обновить статус |
| DELETE | `/api/employees/{id}` | Удалить сотрудника |
## Структура проекта
```
.
├── backend/
│ ├── main.py # FastAPI приложение
│ ├── requirements.txt # Python зависимости
│ └── team_status.db # SQLite база данных (создается автоматически)
├── frontend/
│ ├── src/
│ │ ├── App.jsx # Основной компонент React
│ │ ├── App.css # Стили
│ │ ├── main.jsx # Точка входа
│ │ └── index.css # Глобальные стили
│ ├── index.html
│ ├── package.json
│ └── vite.config.js
├── .gitignore
├── start.sh # Скрипт автозапуска
└── README.md
```
## Статусы
- Online
- На встрече
- Offline
- В отпуске
- Болеет