From 01b329adc2dee7af1fd2ac0b311c16e4d3e7e73d Mon Sep 17 00:00:00 2001 From: gegehprast Date: Tue, 30 Aug 2022 02:36:11 +0700 Subject: [PATCH] hello world --- src/http/routes/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/http/routes/index.ts diff --git a/src/http/routes/index.ts b/src/http/routes/index.ts new file mode 100644 index 0000000..df6e48b --- /dev/null +++ b/src/http/routes/index.ts @@ -0,0 +1,9 @@ +import { RouteHandler } from "../Types" + +const handler: RouteHandler = (router) => { + router.get('/', async (req, res) => { + res.send('Hello world') + }) +} + +export default handler