Skip to content
Snippets Groups Projects
Commit 7a234c5f authored by João Victor Tozatti Risso's avatar João Victor Tozatti Risso
Browse files

Mount /location route on api module

parent 675bac13
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!27Implement UC201 - Select Location
Pipeline #
...@@ -12,6 +12,8 @@ const city = require('./city'); ...@@ -12,6 +12,8 @@ const city = require('./city');
const school = require('./school'); const school = require('./school');
const location = require('./location');
api.get('/', (req, res) => { api.get('/', (req, res) => {
res.json({ msg: 'SimCAQ API is running' }); res.json({ msg: 'SimCAQ API is running' });
}); });
...@@ -22,5 +24,6 @@ api.use('/state', state); ...@@ -22,5 +24,6 @@ api.use('/state', state);
api.use('/region', region); api.use('/region', region);
api.use('/city', city); api.use('/city', city);
api.use('/school', school); api.use('/school', school);
api.use('/location', location);
module.exports = api; module.exports = api;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment