Scaffold v6 solution, frontend, CI, and Docker
Section 1 complete (tasks 1.1-1.7): - .NET 8 solution with 8 projects (Common, Basic, Database, Logic, Api, Backend, Migration, Tests) and correct dependency graph - NuGet deps: MySqlConnector, NBitcoin, Microsoft.Extensions.Hosting, xunit, coverlet - Common layer: IHasIdentity, enums (Permission, FinancialAccountType, DocumentType, CryptoChain, ExpenseClaimStatus, InvoiceStatus, PayoutStatus, FinancialDependencyType) - React + TypeScript + Vite frontend with MUI, react-router, react-i18next - Localization: EN, SV, DE translation files - Vite builds to src/UsingCash.Api/wwwroot for static serving - Multi-stage Dockerfile: Node build + .NET build -> aspnet runtime - Gitea Actions CI: build, test, lint, Docker image - appsettings.json with read/write/admin DB credential structure Also updates data-migration spec/design for mysqldump-based workflow. Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.MapGet("/api/health", () => Results.Ok(new { status = "healthy" }));
|
||||
|
||||
app.UseDefaultFiles();
|
||||
app.UseStaticFiles();
|
||||
app.MapFallbackToFile("index.html");
|
||||
|
||||
app.Run();
|
||||
|
||||
public partial class Program { }
|
||||
Reference in New Issue
Block a user