20251125 save

This commit is contained in:
kosukesuenaga 2025-11-25 14:54:01 +09:00
parent 922fa0e77a
commit 092f2ec0f3
11 changed files with 299 additions and 1 deletions

View file

@ -0,0 +1,16 @@
// src/index.ts
import express from "express";
import type { Express } from "express";
import router from "./src/apiRouter";
const app: Express = express();
app.use("/api", router);
export const helloHttp = app;
// export const helloHttp = (req: Request, res: Response): void => {
// // console.log("Function invoked:", new Date().toISOString());
// console.log("path:", req.path, "method:", req.method);
// const name = (req.query.name as string) ?? "World";
// res.status(200).send(`Hello, ${name} from TypeScript Cloud Functions!`);
// };