Squashed commit of the following:

commit e9e359ca8d8b2d98feefeff4e2fd1ac4a1604f2f
Author: Roberto Tonino <roberto.tonino5@gmail.com>
Date:   Fri Apr 9 18:37:25 2021 +0200

    chore: updated patch and minor version deps

commit a9db754ba5623ee7ae5f171c891f4e572e6b5f22
Author: Roberto Tonino <roberto.tonino5@gmail.com>
Date:   Sat Apr 3 19:58:19 2021 +0200

    feat: added blank route files
This commit is contained in:
Roberto Tonino
2021-04-09 18:38:35 +02:00
parent 8e4e2ff5eb
commit 1bf94ea65d
27 changed files with 240 additions and 176 deletions

View File

View File

View File

View File

@@ -0,0 +1,11 @@
import { ApiHandler } from '../../../types'
const path: ApiHandler['path'] = '/getHome'
const handler: ApiHandler['handler'] = (_, res) => {
res.send('getHome')
}
const apiHandler: ApiHandler = { path, handler }
export default apiHandler

View File

View File

@@ -1,3 +1,4 @@
import sample from './sample'
import getHome from './getHome'
export default [sample]
export default [sample, getHome]

View File

View File

View File

View File

View File

View File