feat: add FabWorks.Api with ExportsController and DTOs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-18 06:32:41 -05:00
parent 28c9f715be
commit ab76fa61c9
9 changed files with 310 additions and 0 deletions

15
FabWorks.Api/Program.cs Normal file
View File

@@ -0,0 +1,15 @@
using FabWorks.Api.Services;
using FabWorks.Core.Data;
using Microsoft.EntityFrameworkCore;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers();
builder.Services.AddDbContext<FabWorksDbContext>(options =>
options.UseSqlServer(builder.Configuration.GetConnectionString("FabWorksDb")));
builder.Services.AddSingleton<FormProgramService>();
var app = builder.Build();
app.MapControllers();
app.Run();