Added google maps step

This commit is contained in:
Nedim Uka
2019-05-17 10:49:13 +02:00
parent a3d9a82fee
commit be416ffc0c
13 changed files with 329 additions and 176 deletions

View File

@@ -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);