How emanuelsilva69/ilharol- works
IlhaRolê is a prototype cultural-events platform for São Luís: visitors browse and map events, then use event details, login, personal agenda, organizer, and profile features. The React wireframe uses the API when available and mock state as fallback; the FastAPI backend documents authentication, event management, favorites, reviews, notifications, reports, and profiles backed by PostgreSQL. The graph preserves those documented capabilities, while some backend service-to-repository links rely on source-index references rather than inspected call sites; unsampled behavior is not asserted.
Main entry points: App.tsx React application · main.py FastAPI routes · events.py Event management · repositories Data repositories
Components 23
Web experience
- React application
frontend/src/App.tsx - Event feed
frontend/src/pages/FeedPage.tsx - Event details
frontend/src/pages/EventDetailsPage.tsx - Personal agenda
frontend/src/pages/AgendaPage.tsx - Login and signup
frontend/src/pages/LoginPage.tsx - Organizer tools
frontend/src/pages/OrganizerPage.tsx - Profile center
frontend/src/pages/ProfilePage.tsx - Event map
frontend/src/components/EventMap.tsx - Prototype event data
frontend/src/data/mockEvents.ts
API access
- API client
frontend/src/lib/api.ts - FastAPI routes
backend/app/main.py
Domain services
- Authentication
backend/app/services/auth.py - Event management
backend/app/services/events.py - Categories and venues
backend/app/services/catalog.py - Profile and activity
backend/app/services/profile.py - Notifications
backend/app/services/notifications.py - Content reports
backend/app/services/reports.py - API serialization
backend/app/serializers.py
Persistence and security
- Data repositories
backend/app/repositories - Domain models
backend/app/models.py - PostgreSQL
backend/app/db.py - JWT and passwords
backend/app/security.py
Other components
- Visitor
Connections 25
- Visitor → React application: uses
README.md - React application → Event feed: renders
frontend/src/App.tsx - React application → Event details: renders
frontend/src/App.tsx - React application → Personal agenda: renders
frontend/src/App.tsx - React application → Login and signup: renders
frontend/src/App.tsx - React application → Organizer tools: renders
frontend/src/App.tsx - React application → Profile center: renders
frontend/src/App.tsx - Event feed → Event map: shows map
- React application → Prototype event data: loads fallback
frontend/src/App.tsx - React application → API client: calls
frontend/src/App.tsx - API client → FastAPI routes: requests
README.md - FastAPI routes → Authentication: dispatches auth
- FastAPI routes → Event management: dispatches events
- FastAPI routes → Profile and activity: dispatches profile
- Authentication → Data repositories: uses users
backend/app/services/auth.py - Event management → Data repositories: uses event data
backend/app/services/events.py - Profile and activity → Data repositories: uses activity data
backend/app/services/profile.py - Event management → Notifications: invokes
backend/app/services/events.py - Authentication → JWT and passwords: uses tokens
backend/app/services/auth.py - FastAPI routes → JWT and passwords: authenticates
- Data repositories → Domain models: queries
backend/app/repositories/events.py - Data repositories → PostgreSQL: uses sessions
- Event management → Categories and venues: resolves categories
backend/app/services/events.py - FastAPI routes → Content reports: dispatches reports
- Event management → API serialization: serializes events
backend/app/services/events.py