How huntertran/blogengine-aspnetcore works
Main Components
a. Frontend Layer (Vue.js Application)
• Components structure
• State Management (Vuex)
• Routing (Vue Router)
• UI Framework (Vuetify)
• External Services (TinyMCE Editor)
b. Backend Layer (.NET Core 3.1)
• API Controllers
• Service Layer
• Repository Layer
• Data Access Layer
• Authentication/Authorization
c. Database
• SQL Database (indicated by blogengine.db and migrations)
┌─ Vue.js Frontend Application ─────────────────┐
• Vue Components │
• Public Components (Home, About) │
• Admin Components (Posts, Categories) │
• Vuex Store │
• Vue Router │
• Vuetify UI Framework │
• ┘
┌─ .NET Core API ────────────────────────────────┐
• Controllers │
• AuthController │
• PostsController │
• CategoriesController │
• UsersController │
• Services Layer │
• Identity Service │
• Post Service │
• Repository Layer │
• Generic Repository │
• ┘
┌─ Data Storage ──────────────────────────────┐
• SQL Database │
• Users │
• Posts │
• Categories │
• PostCategories │
• ┘
Important Flows to Highlight
a. Authentication Flow:
• Client → AuthController → IdentityService → Database
• Token-based authentication (JWT)
b. Data Flow:
• Client → API Controllers → Services → Repository → Database
Technical Details
• .NET Core 3.1 framework
• Vue.js 4 frontend
• Vuetify 2 UI framework
• JWT Authentication
• Entity Framework Core (implied by migrations)
• xUnit for testing
Additional Elements
• Version numbers for major components
• External dependencies (TinyMCE)
• API endpoints grouping