Stevan Freeborn
497dedf6ac
feat(api): return balance info to frontend
2026-02-14 06:46:05 -06:00
Stevan Freeborn
6190470fe2
feat(api): initialize account with starting balance
2026-02-14 06:46:05 -06:00
Stevan Freeborn
3b7830b1bc
refactor(api): introduce DTOs for institutional account discovery
...
- Replace raw Plaid entity response with a dedicated Response wrapper
- Map Plaid accounts to AccountDto to decouple API from external SDK
models
- Update integration tests to assert against the new response structure
- Add JsonConstructors to DTO records for reliable deserialization
2026-02-14 06:46:05 -06:00
Stevan Freeborn
dad2ceb450
feat(api,core,infra): refactor endpoint routing and add institution account discovery
...
- Move login and refresh endpoints under a unified /auth route group
- Relocate institution connection logic from /accounts to /institutions
- Implement GET /institutions/{id}/available to fetch real-time Plaid
accounts
- Introduce HttpRequestBuilder utility to streamline integration testing
- Enhance PlaidService with GetAccountsAsync to support account fetching
- Clean up global usings and project structure for better domain
isolation
2026-02-14 06:46:05 -06:00
Stevan Freeborn
32cf48bf36
refactor(infra,api.tests): fix my null lies
2026-02-13 12:38:18 -06:00
Stevan Freeborn
502f6f61c1
feat(api): validate account institution is connected and allow adding new account
2026-02-13 12:38:18 -06:00
Stevan Freeborn
6ca90ed25a
refactor(api.tests): rename variable
2026-02-13 12:38:18 -06:00
Stevan Freeborn
a83dbbcc54
feat(api): add validation to prevent duplicate accounts from being added
2026-02-13 12:38:18 -06:00
Stevan Freeborn
1a41c3c0b6
feat(api): implement storing connected insitution in db
2026-02-13 04:37:47 -06:00
Stevan Freeborn
7cdf87b860
tests(api.tests): pass cancellation token through delegate
2026-02-13 04:37:47 -06:00
Stevan Freeborn
1d661ac409
feat(api): prevent user from connecting to same institution twice
2026-02-13 04:37:47 -06:00
Stevan Freeborn
1f5e4a319a
fix(api.tests): use a serializable dictionary for xunit test case data
2026-02-13 04:37:47 -06:00
Stevan Freeborn
683ca3fac4
feat(api): add validation for connect account request
2026-02-13 04:37:47 -06:00
Stevan Freeborn
87a68669cf
feat(api): add protected connect account endpoint
2026-02-13 04:37:47 -06:00
Stevan Freeborn
5b1a5f003e
tests: add mucho tests
2026-02-06 06:53:20 -06:00
Stevan Freeborn
bbe3779a53
tests: add remaining register integration tests
2026-02-03 21:04:25 -06:00
Stevan Freeborn
47692fc946
tests: add test for calling refresh with no access token
2026-02-03 21:04:25 -06:00
Stevan Freeborn
453aa3264d
tests: check for proper cookie being set in response
2026-02-03 21:04:25 -06:00
Stevan Freeborn
0ce97cdec8
tests(api): add integration test for happy path when logging in
2026-02-03 04:38:40 -06:00
Stevan Freeborn
2a1a03ef6c
test: update infra tests for new authentication namespaces
2026-02-03 04:38:40 -06:00
Stevan Freeborn
38a03f56ca
tests: refactor test suite to match new project structure
2026-02-03 04:38:40 -06:00
Stevan Freeborn
ccda58be07
tests: fix integration test setup
2026-02-03 04:38:40 -06:00
Stevan Freeborn
c037b895f0
feat: wip on testing login flows
2026-02-03 04:38:40 -06:00
Stevan Freeborn
1f84f47f31
feat: add simple check for username and password
2026-02-03 04:38:40 -06:00
Stevan Freeborn
42e590d9e6
feat: wip on login endpoint
...
- added basic REPR pattern
- added basic vert architecture
- implemented basica validation for single test case
2026-02-03 04:38:40 -06:00