Compare commits

..

1 commit

Author SHA1 Message Date
Piotr Gaczkowski
a5ec38f3a3 feat: Add basic frontend
Some checks failed
MegaLinter / MegaLinter (pull_request) Has been cancelled
Update website / update (pull_request) Has been cancelled
2026-04-16 14:22:50 +02:00
2 changed files with 10 additions and 0 deletions

View file

@ -2,6 +2,15 @@
Skrypt, który generuje podsumowanie [Bazy Wiedzy zasobów Hackerspace Trójmiasto](https://kb.hs3.pl/docs) w formie statycznej strony internetowej.
## Uruchomienie
```bash
uv venv --python 3.11
source .venv.bin/activate
uv sync
fastapi dev --port 31337 labeler/adapter/fastapi_srv.py
```
## Sposób działania
1. Baza Wiedzy znajduje się na Discourse Hackerspace Trójmiasto i jest dostępna publicznie. Projekt wykorzystuje Discourse REST API do pobrania listy zasobów.

View file

@ -4,6 +4,7 @@
<div class="sidenav">{% block sidenav %}{% endblock sidenav %}</div>
<div class="main">
<h1>Baza Zasobów Hackerspace Trójmiasto</h1>
<a href="/refresh"><button id="refresh"><i class="fa fa-arrows-rotate"></i> Refresh</button></a>
<table id="dashboardTable">
<thead>
<tr>