stubs-kazan-explore #17
@ -1,6 +1,15 @@
|
||||
const router = require('express').Router();
|
||||
//const loginMiddleware = require('../middleware/login-middleware');
|
||||
|
||||
// First page
|
||||
router.get('/getInfoAboutKazan', (request, response) => {
|
||||
response.send(require('../json/first/info-about-kazan/success.json'))
|
||||
})
|
||||
|
||||
router.get('/getNews', (request, response) => {
|
||||
response.send(require('../json/first/news/success.json'))
|
||||
})
|
||||
|
||||
// Sport page
|
||||
router.get('/getSportData', (request, response) => {
|
||||
response.send(require('./json/sport/sport-data.json'))
|
||||
@ -32,6 +41,10 @@ router.get('/getTripSchedule', (request, response) => {
|
||||
response.send(require('./json/transport/trip-schedule/success.json'))
|
||||
})
|
||||
|
||||
router.get('/getInfoAboutInstitutions', (request, response) => {
|
||||
response.send(require('../json/transport/info-about-institutions.json'))
|
||||
})
|
||||
|
||||
// Education page
|
||||
router.get('/getInfoAboutKFU', (request, response) => {
|
||||
response.send(require('./json/education/info-about-kfu.json'))
|
||||
@ -88,4 +101,3 @@ router.post('/entrance', (request, response) => {
|
||||
|
||||
|
||||
module.exports = router;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user