Prepare the application for deployment to a production environment

Adds Docker Compose configuration, Nginx setup, and deployment scripts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/1668b635-4205-40d7-8634-6b7174d94d7b.jpg
This commit is contained in:
michaelschal committed 2025-07-11 15:59:15 +00:00
1 parent 9b0a09614a
commit 9cc28ddc93
8 files changed
+635

No files matched your search

+10
View File
@@ -614,6 +614,16 @@ export async function registerRoutes(app: Express): Promise<Server> {
}
});
// Health check endpoint for production monitoring
app.get('/health', (req, res) => {
res.status(200).json({
status: 'healthy',
timestamp: new Date().toISOString(),
uptime: process.uptime(),
environment: process.env.NODE_ENV
});
});
const httpServer = createServer(app);
return httpServer;
}