Initial commit
This commit is contained in:
commit
9277a804bb
18 changed files with 851 additions and 0 deletions
9
src/routes/HomeRoutes.ts
Normal file
9
src/routes/HomeRoutes.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { Request, Response } from 'express';
|
||||
import { Controller, GET, Page, BaseController } from '@BridgemanAccessible/ba-web-framework';
|
||||
|
||||
@Controller()
|
||||
export class HomeRoutes extends BaseController {
|
||||
@Page('Home', 'index.ejs')
|
||||
@GET('/')
|
||||
async home(req: Request, res: Response) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue