fabio 664db8f7a0 feat(advertising): implement advertising service with CRUD operations and validation
- Added advertising.go for managing advertising entries with Create and List functionalities.
- Implemented CreateAdvertisingParams with validation for name, email, and status.
- Created migrations for advertising table structure.
- Added tests for advertising parameters validation.

feat(promo): introduce promo management with validation and CRUD operations

- Added promo.go for managing promotional entries with Create, Update, and List functionalities.
- Implemented CreatePromoParams and UpdatePromoParams with validation for position, section, and weeks.
- Created migrations for promo table structure.
- Added tests for promo parameters validation.

feat(images): add image management service with upload and retrieval

- Added images.go for managing image uploads and retrieval from storage.
- Implemented SaveImageParams with validation for image description and data.
- Created migrations for images table structure.
- Added tests for image parameters validation and data parsing.
2026-10-01 20:19:07 +02:00
2026-07-02 10:54:13 +02:00
2026-07-02 10:54:13 +02:00
2026-07-02 08:32:57 +00:00

encore-test

Test del framework Encore con backend Go e frontend Quasar.

Prerequisiti

  • Encore: brew install encoredev/tap/encore
  • Go
  • Node.js e pnpm per il frontend

Avvio locale

Backend:

encore run

Frontend:

cd frontend
pnpm install
pnpm dev

Test

Backend:

go test ./...

Frontend:

cd frontend
pnpm typecheck

Note Encore

Con encore run attivo, il dashboard locale e' disponibile su:

http://localhost:9400/

Le API locali sono esposte dall'ambiente Encore locale. Consulta il Service Catalog nel dashboard per endpoint e schema aggiornati.

Videochat

Il servizio videochat integra LiveKit per gestire stanze, partecipanti e token di accesso. Configurazione e API: videochat/README.md.

Setup personale

GET /profiles/personal-setup restituisce il setup dell'utente autenticato: user_id, can_broadcast (bool) e room_name (string). In assenza di setup, restituisce can_broadcast: false e room_name: "".

Gli amministratori possono impostarlo con PUT /profiles/personal-setup/:userID:

{"can_broadcast": true, "room_name": "stanza-utente"}

Il nome stanza è obbligatorio quando il broadcasting è abilitato e viene cancellato quando è disabilitato. Il setup è salvato nel database profiles dalla migrazione 11. Queste API gestiscono i dati del setup; l'applicazione del permesso ai token LiveKit e la creazione della stanza non sono automatiche.

Description
test del framework encore
Readme MIT 3 MiB
Languages
Go 99.9%