diff --git a/src/index.js b/src/index.js index 7e93d5b..736ae40 100644 --- a/src/index.js +++ b/src/index.js @@ -19,6 +19,10 @@ app.use('/api/abstractproduct', AbstractProductRouter); app.use('/api/product', ProductRouter); app.use('/api/category', CategoryRouter); +app.get('/status', (req, res) => { + return res.status(200).send("All OK"); +}); + app.listen(config.port, () => { log.info(`Application has started on port ${config.port}`) }); \ No newline at end of file