1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2026-04-02 05:53:00 +00:00

initial commit

This commit is contained in:
Bowden Kelly
2017-05-09 13:28:09 -07:00
parent 352392a682
commit 6625b87b19
171 changed files with 21929 additions and 246 deletions

12
src/controllers/home.ts Normal file
View File

@@ -0,0 +1,12 @@
import {Request, Response} from "express";
/**
* GET /
* Home page.
*/
export let index = (req: Request, res: Response) => {
res.render("home", {
title: "Home"
});
};