Prepare application for production deployment with Docker and PostgreSQL

Integrate PostgreSQL database support, add Docker deployment configurations, and implement health check endpoints.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ceced2fc-aa46-458d-ba87-ddd4b7bb1518
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/659922a9-0087-461c-90dd-6d9a58b81d4d/ceced2fc-aa46-458d-ba87-ddd4b7bb1518/ahHWEFX
This commit is contained in:
paul-nothaft
2025-10-23 13:21:58 +00:00
parent 24aacb3787
commit 4133052165
10 changed files with 625 additions and 1 deletions
+5
View File
@@ -4,6 +4,11 @@ import { storage } from "./storage";
import { insertLabelSchema, insertTaskSchema } from "@shared/schema";
export async function registerRoutes(app: Express): Promise<Server> {
// Health check endpoint
app.get("/api/health", (req, res) => {
res.status(200).json({ status: "ok", timestamp: new Date().toISOString() });
});
// Labels API routes
app.get("/api/labels", async (req, res) => {
try {