Commit Graph
58 Commits
Author SHA1 Message Date
rogier 02f29f3a99 Neater extractor imports. 2026-10-11 08:16:10 +02:00
rogier 731139045d Continuing with error refactoring. 2026-10-10 20:50:43 +02:00
rogier d6bb67721e This maybe a step in the right direction. 2026-10-10 17:52:24 +02:00
rogier 94b2f23a59 Struggling to clean up error handling. 2026-10-10 17:18:36 +02:00
rogier 5f85713892 Slight genericity and boundary improvement. 2026-10-10 15:54:23 +02:00
rogier 3ceb9229c1 Fixed clippy warnings. 2026-10-10 12:17:15 +02:00
rogier 30efddbc20 Over engineered bearer token extraction (although it's not perfect yet). 2026-10-10 12:15:00 +02:00
rogier dbf6c3d9f5 Fine tuned authorization header errors. 2026-10-09 18:03:54 +02:00
rogier 1f6de34e5b Added initial authorization layer. 2026-10-09 17:22:46 +02:00
rogier 7fb3abc93d Added an authorization header bearer token extraction demo. 2026-10-09 16:46:28 +02:00
rogier 18e142ec91 These errors have become app level errors. 2026-10-09 15:28:27 +02:00
rogier 66984567f8 Standardized the upsert and delete pattern across the repo. 2026-10-09 15:09:04 +02:00
rogier 4a84c8330a Moved domain logic out of the database layer, to the user app route. 2026-10-09 14:50:39 +02:00
rogier e68f103c29 Added ownership and app existence validation to the user app secrets routes. 2026-10-09 12:11:42 +02:00
rogier 7732b0ecc5 Repo layer refactor. 2026-10-08 22:18:50 +02:00
rogier c51e9425d6 Repo/db fn name refactor. 2026-10-08 21:18:21 +02:00
Rogier Reerink a2ca1c60e5 Added a "refreshed_at" stat to tokens. 2026-10-08 16:04:53 +02:00
Rogier Reerink 8576da980e No need for query transformation gymnastics if they're only used at one place. 2026-10-08 15:43:51 +02:00
Rogier Reerink c88cfac8a0 Unified repo references. 2026-10-08 15:32:19 +02:00
Rogier Reerink 15b229b0de Do not tie tokens to a user app. 2026-10-08 15:09:06 +02:00
rogier 9038120734 Added user apps and token resources. 2026-10-07 22:50:18 +02:00
rogier 1f1f027368 Update! 2026-10-07 20:06:52 +02:00
rogier 6f627b82ae Added auth endpoint placeholders. 2026-10-03 22:43:38 +02:00
rogier 896b192c01 Refactored src and dst account to just account in preparation for a "counter party", instead of a full account. 2026-10-03 20:33:13 +02:00
rogier 221c38d364 Added initial users API. 2026-10-03 14:22:27 +02:00
rogier 75c0ee0084 Try into looks neater. 2026-09-30 09:51:30 +02:00
rogier f7e3fc5342 Test updates. 2026-09-29 22:35:03 +02:00
rogier 7cdd9bd74d Deduplicated AccountRequest and AccountResponse. 2026-09-27 11:58:33 +02:00
rogier 406f30ef80 Return account details. 2026-09-27 11:50:59 +02:00
rogier 26a370aa31 Added source and destination accounts. 2026-09-27 11:04:47 +02:00
rogier d219d63dca Added name query to accounts and updated query handling. 2026-09-27 10:32:08 +02:00
rogier bb58e3fd77 Slight naming alignment. 2026-09-27 10:27:06 +02:00
rogier 4e1eea5849 Added accounts API. 2026-09-27 10:26:11 +02:00
rogier 5f4c9bdf90 Some more cleanup. 2026-09-27 10:02:30 +02:00
rogier 67153c79bb Cleaned up errors a bit. 2026-09-26 21:26:46 +02:00
rogier 75ee0cb760 Cleaned up imports. 2026-09-26 20:57:38 +02:00
rogier 859ae71c51 Added query parameters. 2026-09-26 20:19:06 +02:00
rogier 9279258ff1 Refactored API DTOs to be more straight forward. 2026-09-26 18:27:18 +02:00
rogier 4737bd5c81 Implemented a domain layer, because the API DTO's where getting bloated. 2026-09-26 17:22:10 +02:00
rogier fd32ad706d Renamed module. 2026-09-25 18:09:53 +02:00
rogier 37a2b7b5dc Return JSON error responses. 2026-09-25 17:32:54 +02:00
rogier 4cf6bd2f14 Fixed test. 2026-09-25 16:36:29 +02:00
rogier cce06eb025 Renamed AmountCents to just Cents. 2026-09-25 16:32:49 +02:00
rogier e7062b31e4 Added additional transaction operations. 2026-09-25 16:18:53 +02:00
rogier c6efb2cd0b Treat not found as app error at API boundry. 2026-09-25 15:49:30 +02:00
rogier adf6888cc7 Added get scheduled transaction. 2026-09-25 15:41:40 +02:00
rogier 251f6ac3f4 Implemented thiserror. 2026-09-25 12:10:05 +02:00
rogier e1344530c0 Implemented amount_cents for transactions. 2026-09-25 11:59:18 +02:00
rogier 2015cec0f9 Refactored DB operations into dedicated module. 2026-09-25 11:27:45 +02:00
rogier 48979317a4 Delete resources. 2026-09-24 22:50:51 +02:00