Extracted stack files

This commit is contained in:
keshavanandmusi
2025-12-14 23:48:59 +00:00
parent 6c71fa7f0e
commit 7982b4d5ad
75 changed files with 14410 additions and 0 deletions

16
server/routes.ts Normal file
View File

@@ -0,0 +1,16 @@
import type { Express } from "express";
import { createServer, type Server } from "http";
import { storage } from "./storage";
export async function registerRoutes(
httpServer: Server,
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)
return httpServer;
}