How dmytroflakac/vut-fit-itu-alco-stack-party-manager-project- works
Main Components
Frontend Layer (React Application):
• User Interface Components
• Pages (Login, Register, Home, Profile, Party, etc.)
• Reusable Components (Cards, Buttons, Forms)
• State Management (Context API - useAuth)
• Services Layer (API Integration)
• Models/Types
• Asset Management
Backend Layer (.NET Core):
• API Controllers
• Data Access Layer
• Service Layer
• Repository Layer
• Authentication/Authorization
• Models/DTOs
Database Layer:
• Entity relationships for:
• Users
• Parties
• Alcohols
• Cocktails
• Various joining tables (UserParty, PartyAlcohol, etc.)
[Frontend Layer (React)]
• ↕
[Backend Layer (.NET)]
• ↕
[Database Layer]
Detailed Component Breakdown
Frontend (React):
[Pages] → [Components] → [Services]
• ↓ ↓ ↓
[Context] → [Models] → [API Calls]
Backend (.NET):
[Controllers] → [Services] → [Repositories]
• ↓ ↓ ↓
[DTOs/Models] → [Interfaces] → [Data Context]
Key Interactions to Highlight
• Authentication flow between frontend and backend
• Party management operations
• Alcohol and cocktail rating system
• User profile management
• File handling for user photos
Specific Implementation Details
• Token-based authentication (TokenService)
• File handling (FileService)
• Alcohol ranking system (AlcoholRankingService)
• Party management flow
• User management flow
Additional Elements
Supporting components:
• Error handling flow
• API endpoints
• Security middleware
• Database relationships
• File storage system