Commit 631c5e1
committed
refactor(server): refactor structure and implement to Hono framework
- Updated cache utility to use new type definitions from hono-types.
- Added TestCacheImpl for testing purposes, providing a simple in-memory cache implementation.
- Removed outdated integration tests and replaced them with a more modular test setup using Hono.
- Created a new Hono app factory to initialize the application with middleware and services.
- Introduced middleware for lazy initialization of dependencies, JWT handling, and request timing.
- Defined types for Hono context and variables to improve type safety across the application.
- Implemented error handling and 404 responses in the Hono app.
- Updated test API client to align with the new Hono structure and provide type-safe API calls.1 parent ac0d6c7 commit 631c5e1
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
0 commit comments