Added google maps step
This commit is contained in:
4
index.js
4
index.js
@@ -8,6 +8,7 @@ const { getPrice, postPrice } = require('./app/controllers/prices');
|
||||
const { getQueryReview, postQueryReview } = require('./app/controllers/queryReview');
|
||||
const { getQuerySubmit, postQuerySubmit } = require('./app/controllers/querySubmit');
|
||||
const { getGoAgain } = require('./app/controllers/goAgain');
|
||||
const { getNeighborhood, postNeighborhood } = require('./app/controllers/neighborhoodMap');
|
||||
|
||||
let express = require("express");
|
||||
const path = require("path");
|
||||
@@ -127,6 +128,9 @@ app.post('/grad/:request_id', postRegion);
|
||||
app.get('/mjesto/:request_id', getMunicipality);
|
||||
app.post('/mjesto/:request_id', postMunicipality);
|
||||
|
||||
app.get('/naselje/:request_id/:municipality', getNeighborhood);
|
||||
app.post('/naselje/:request_id/:municipality', postNeighborhood);
|
||||
|
||||
app.get('/povrsina/:request_id', getSize);
|
||||
app.post('/povrsina/:request_id', postSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user