Add comprehensive documentation for employee learning platform

- Created handover document outlining design decisions and application functionality.
- Developed implementation plan detailing phased approach for service development.
- Specified ingestion service responsibilities, API surface, and processing pipeline.
This commit is contained in:
RaymondVerhoef
2026-05-23 15:38:09 +02:00
parent 881148357e
commit dda20612e9
32 changed files with 3519 additions and 573 deletions

View File

@@ -0,0 +1,18 @@
import 'dotenv/config';
import Fastify from 'fastify';
import documentRoutes from './routes/documents.js';
const PORT = parseInt(process.env['INGESTION_PORT'] ?? '3001', 10);
async function start(): Promise<void> {
const app = Fastify({ logger: true });
await app.register(documentRoutes);
await app.listen({ port: PORT, host: '0.0.0.0' });
}
start().catch((err: unknown) => {
console.error('Failed to start ingestion service:', err);
process.exit(1);
});