🚀 Доступные endpoints:
GET /api/health - Проверка состояния сервера
GET /api/services - Получить все услуги
POST /api/services - Создать услугу
GET /api/orders - Получить все заказы
POST /api/orders - Создать заказ
GET /api/orders/:id - Получить заказ по ID
PUT /api/orders/:id - Обновить заказ
🔧 Тестирование API:
Базовый URL: http://vov4okso.beget.tech
Пример запроса:
curl http://vov4okso.beget.tech/api/health
curl http://vov4okso.beget.tech/api/services
curl -X POST http://vov4okso.beget.tech/api/orders -H "Content-Type: application/json" -d '{"customerName":"Тест","customerPhone":"+7 999 123-45-67","orderType":"monument"}'