Commit graph

3 commits

Author SHA1 Message Date
Brandon Wolfgang
ca38e1a30f test: add API endpoint tests with Node.js test runner
- Replace the placeholder test script with tsx --test
- Add tests for GET /health response status and payload
- Add tests for GET /ready response status and dependency status
- Use Fastify injection to test endpoints without opening a network listener
- Close the app after the test suite completes
2026-10-21 19:16:37 -05:00
Brandon Wolfgang
0d09e37af2 refactor: export Fastify app factory for testing
- Extract route and server configuration into an exported buildApp function
- Guard server startup so importing the module does not automatically listen on port 3000
- Preserve health and readiness endpoints and loopback-only binding
- Normalize string literals to double quotes
2026-10-21 17:06:21 -05:00
Brandon Wolfgang
ed9259d35e Initialize local AI platform project 2026-10-21 16:57:52 -05:00