Commit Graph

3 Commits (main)

Author SHA1 Message Date
Pau Costa Ferrer 93bd2808ac Add seed service to initialize default admin and organization
- Implement `SeedService` to create a default admin account and organization on app startup.
- Update `PrismaModule` to include `SeedService` as a provider.
- Remove seeded credentials display from login page.
- Refactor existing seed script for consistency with the new service.
2026-03-28 18:07:22 +01:00
Pau Costa Ferrer b618c10cdd Add organization management with logo support
- Implement organization settings page (`+page.svelte`) for updating organization name and logo.
- Create backend APIs for retrieving and updating organization details with role-based access control.
- Add `OrganizationsModule`, `OrganizationsService`, and DTOs for input validation in NestJS.
- Update Prisma schema to include `logoUrl` field for organizations.
- Enhance navigation to dynamically display organization logo and name.
2026-03-28 16:40:24 +01:00
Pau Costa Ferrer 8dc99bc1a4 Implement authentication, organization management, and floor layout features
- Add API authentication with JWT strategy using NestJS.
- Configure Prisma schema for organizations, users, buildings, floors, and spaces.
- Seed initial database with test data and relationships.
- Build SvelteKit web pages for dashboard and floor layout with secured routing and organization hierarchy display.
- Remove deprecated `AppService` from API.
2026-03-28 00:36:05 +01:00