Chris Chen
|
3558c67fd7
|
WIP
|
2026-06-20 17:51:33 -07:00 |
|
Chris Chen
|
b3eb9d297a
|
feat(expense): add expense category entities + seed (11 groups / 38 subs)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-29 18:08:12 -07:00 |
|
Chris Chen
|
f6f06d841c
|
feat(ministry): add Ministry entity, seed (10), and read endpoint
|
2026-05-29 18:03:28 -07:00 |
|
Chris Chen
|
577ae1aabe
|
refactor(giving): use AnyAsync in category seed (code-review minor)
|
2026-05-28 16:21:32 -07:00 |
|
Chris Chen
|
e20964ae0d
|
feat(giving): seed default giving categories
|
2026-05-28 16:19:44 -07:00 |
|
Chris Chen
|
8b86bd573e
|
Tasks 7-9: AuthController, appsettings, Program.cs
Task 7 – AuthController (POST /api/auth/login|refresh|logout)
- Refresh token in HttpOnly; Secure; SameSite=Strict cookie (rolac_rt)
- Cookie Path scoped to /api/auth; cleared on logout/invalid refresh
Task 8 – appsettings.json (non-secret JWT values + CORS origins)
- appsettings.Development.json carries connection string + JWT secret
(file is gitignored)
Task 9 – Program.cs wiring
- EF Core + Npgsql, ASP.NET Core Identity, JWT Bearer auth
- RoleClaimType=role matches the short JWT claim name written by TokenService
- CORS: AllowCredentials for Angular app
- Swagger UI with Bearer security definition
- Startup: MigrateAsync + DbSeeder.SeedAsync (roles + dev admin)
- DbSeeder: added SeedAsync(IServiceProvider) entry point
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-26 17:40:52 -07:00 |
|
Chris Chen
|
a66a3f7cb0
|
feat: add AppDbContext (Identity + RefreshTokens) and DbSeeder (13 roles + dev admin)
|
2026-05-25 19:05:02 -07:00 |
|