From 70e684684782f14171628a780763976b41d1bb07 Mon Sep 17 00:00:00 2001 From: Vic Date: Sat, 21 May 2022 03:53:19 +0200 Subject: [PATCH] server.ts orderRoutes --- src/server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server.ts b/src/server.ts index 9fb35ca..3fc7d34 100644 --- a/src/server.ts +++ b/src/server.ts @@ -3,6 +3,7 @@ import bodyParser from 'body-parser' import productRoutes from './handlers/products' import userRoutes from './handlers/users' +import orderRoutes from './handlers/orders' const app: express.Application = express() const address: string = "0.0.0.0:3000" @@ -16,6 +17,7 @@ app.get('/', function (req: Request, res: Response) { productRoutes(app) userRoutes(app) +orderRoutes(app) // Start express server app.listen(port, function () {