diff --git a/index.js b/index.js index 09a8d16..2ae075d 100644 --- a/index.js +++ b/index.js @@ -6,6 +6,13 @@ app.get('/', (req, res) => { res.send('Sensor Logger'); }); +app.get('/api/status', (req, res) => { + res.json({ status: 'online', application: 'sensor-logger' }); +}); + + + + app.listen(3030, () => { console.log('Server running at http://localhost:3030'); });