Files
BIU_System_Rezerwacji/src/config.js
Krzysztof Cieślik f436d87ca5 Inicjalna wersja systemu zarządzania rezerwacjami (RMS)
SPA zbudowane w React 19 + Vite 8 z pełnym zestawem funkcjonalności:
autentykacja z 2FA, kreator rezerwacji, panel admina, analityka,
GraphQL (Apollo Client + SchemaLink), React Query, Storybook,
testy jednostkowe (Vitest + RTL) i e2e (Playwright).
2026-06-21 06:08:47 +02:00

6 lines
344 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// [REQ T5] Obsługa zapytań API centralny adres backendu
// W trybie dev: http://localhost:3001 (json-server)
// W Dockerze: /api (nginx proxy → kontener api)
// Wartość pochodzi ze zmiennej środowiskowej Vite ustawionej w .env lub przy docker build
export const API_URL = import.meta.env.VITE_API_URL ?? 'http://localhost:3001';