Add SQLite database to backend, interacting with the frontend
This commit is contained in:
7
software/backend/routes/api.routes.ts
Normal file
7
software/backend/routes/api.routes.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Request, Response, NextFunction, Router } from 'express'
|
||||
|
||||
export const api = Router()
|
||||
|
||||
api.get("/", (req: Request, res: Response, next: NextFunction) => {
|
||||
res.send("Hello World!")
|
||||
})
|
||||
Reference in New Issue
Block a user