add web-service

This commit is contained in:
2025-10-20 23:07:10 +05:00
parent a74b8bbb5d
commit 4f9417a032
10 changed files with 1266 additions and 282 deletions

27
run-webservice.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
# Скрипт для запуска веб-сервиса A* решателя
echo "╔════════════════════════════════════════════════════════════╗"
echo "║ Building Racing A* Web Service... ║"
echo "╚════════════════════════════════════════════════════════════╝"
echo
# Собираем проект
dotnet build racing-webservice.csproj
if [ $? -eq 0 ]; then
echo
echo "╔════════════════════════════════════════════════════════════╗"
echo "║ Starting Racing A* Web Service... ║"
echo "╚════════════════════════════════════════════════════════════╝"
echo
# Запускаем сервис
dotnet run --project racing-webservice.csproj
else
echo
echo "❌ Build failed!"
exit 1
fi