Update README.md to provide a comprehensive overview of The Order monorepo, including repository structure, quickstart guide, development workflow, and contribution guidelines.

This commit is contained in:
defiQUG
2025-11-07 22:34:54 -08:00
parent e020318829
commit 4af7580f7a
128 changed files with 4558 additions and 2 deletions

View File

@@ -0,0 +1,36 @@
/**
* Intake Service
* Handles document ingestion, OCR, classification, and routing
*/
import Fastify from 'fastify';
const server = Fastify({
logger: true,
});
// Health check
server.get('/health', async () => {
return { status: 'ok' };
});
// Ingest endpoint
server.post('/ingest', async (request, reply) => {
// TODO: Implement document ingestion
return { message: 'Ingestion endpoint - not implemented yet' };
});
// Start server
const start = async () => {
try {
const port = Number(process.env.PORT) || 4001;
await server.listen({ port, host: '0.0.0.0' });
console.log(`Intake service listening on port ${port}`);
} catch (err) {
server.log.error(err);
process.exit(1);
}
};
start();