28ad3f1535
This commit introduces the foundational UI components and logic for the task management application, including task creation, calendar views, Kanban boards, and navigation elements. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ceced2fc-aa46-458d-ba87-ddd4b7bb1518 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/659922a9-0087-461c-90dd-6d9a58b81d4d/ceced2fc-aa46-458d-ba87-ddd4b7bb1518/yy9YLEW
16 lines
473 B
TypeScript
16 lines
473 B
TypeScript
import type { Express } from "express";
|
|
import { createServer, type Server } from "http";
|
|
import { storage } from "./storage";
|
|
|
|
export async function registerRoutes(app: Express): Promise<Server> {
|
|
// put application routes here
|
|
// prefix all routes with /api
|
|
|
|
// use storage to perform CRUD operations on the storage interface
|
|
// e.g. storage.insertUser(user) or storage.getUserByUsername(username)
|
|
|
|
const httpServer = createServer(app);
|
|
|
|
return httpServer;
|
|
}
|