mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-06 17:03:02 +02:00
22 lines
592 B
Markdown
22 lines
592 B
Markdown
# instalacja:
|
|
pip install -r requirements.txt
|
|
|
|
# budowanie i uruchamianie obrazu z bazą danych:
|
|
cd ai_front_connector
|
|
docker compose up (ewentualnie można też z GUI)
|
|
|
|
# uruchomienie:
|
|
(Z directory macierzystego)
|
|
python3 ai_front_connector/frontend_AI_connector.py
|
|
|
|
# gadanie z endpointami
|
|
|
|
GET http://localhost:8080/ - testowy domowy
|
|
|
|
GET http://localhost:8080//api/v3/get/<string:username> - info o userach
|
|
|
|
POST http://localhost:8080/api/v3/add/<string:oauth_ID>/<string:username> - dodawanie usera
|
|
|
|
GET http://localhost:8080/api/v3/ai/<string:oauth_ID> - wyciąganie rekomendacji od AI
|
|
|