How samuelgunda/nowaround-backend works
Main Components
A. Client Layer (External)
• Web Clients
• Mobile Clients
B. API Gateway Layer
• Azure-hosted Web API (.NET Core 9)
• Authentication/Authorization middleware (Auth0)
• Global Exception Handler
C. Application Core
• Application Services Layer
• Domain Layer
• Infrastructure Layer
D. External Services
• Mapbox Integration
• Auth0 Service
• Azure Storage
• Email Service
E. Database Layer
• MS SQL Server
• Entity Framework Core
Component Relationships and Architecture
[Client Layer] → [API Gateway Layer] → [Application Core] → [Infrastructure] → [Database]
• ↘ [External Services]
• Blue: API Gateway components
• Green: Application Core components
• Yellow: External services
• Gray: Infrastructure components
• Red: Database components
Detailed Component Breakdown
A. API Gateway Layer (Blue)
• Controllers:
• Establishment
• Event
• Post
• Review
• User
• MonthlyStatistic
• Middleware:
• Authentication
• Exception Handling
• CORS
B. Application Core (Green)
• Services:
• EstablishmentService
• EventService
• PostService
• ReviewService
• UserService
• MonthlyStatisticService
• Domain Models:
• Establishment
• Event
• Post
• Review
• User
• Business Hours
• Menu
C. Infrastructure Layer (Gray)
• Repositories
• Database Context
• External Service Implementations
• Configurations
D. External Services Integration (Yellow)
• Auth0 Authentication
• Mapbox Services
• Azure Storage
• Email Service
Additional Elements
• Azure Deployment Pipeline
• CI/CD Workflow
• Testing Infrastructure
• Storage Services