stubs-kazan-explore #17

Merged
Kamila merged 2 commits from stubs-kazan-explore into master 2024-06-01 20:25:17 +03:00
Showing only changes of commit 07a02ade1f - Show all commits

View File

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