initial commit
This commit is contained in:
12
packages/server/src/api/index.ts
Normal file
12
packages/server/src/api/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Express } from "express";
|
||||
|
||||
export const createApis = (app: Express) => {
|
||||
app.get("/api/test", async (req, res) => {
|
||||
res.status(200).json({
|
||||
message: "success",
|
||||
data: null,
|
||||
});
|
||||
});
|
||||
|
||||
/** add apis here */
|
||||
};
|
||||
Reference in New Issue
Block a user