school-stage-branch #8

Merged
prdcsi merged 2 commits from school-stage-branch into master 2024-05-31 16:50:00 +03:00
3 changed files with 49 additions and 0 deletions
Showing only changes of commit 325e2f125b - Show all commits

View File

@ -0,0 +1,11 @@
const router = require('express').Router();
router.get('/teachers', (request, response) => {
response.send(require('./json/teachers/success.json'))
})
router.get('/account', (request, response) => {
response.send(require('./json/account/account.json'))
})
module.exports = router;

View File

@ -0,0 +1,28 @@
{
"data": [
{
"login": "user1",
"password": "1234",
"photo": "boy",
"surname": "Иванов",
"name": "Иван",
"class": "2",
"group": "1",
"number": "+7 927 030 13 00",
"teacher": "Иванова Валерия Константиновна",
"lessons": ["02.05", "07.05", "14.05", "17.05", "21.05", "24.05", "28.05"]
},
{
"login": "user2",
"password": "1234",
"photo": "boy",
"surname": "Александров",
"name": "Александр",
"class": "3",
"group": "2",
"number": "+7 927 030 13 00",
"teacher": "Иванова Валерия Константиновна",
"lessons": ["02.05", "07.05", "14.05", "17.05", "21.05", "24.05", "28.05"]
}
]
}

View File

@ -0,0 +1,10 @@
{
"data": [
{
"imageUrl": "teacher1"
},
{
"imageUrl": "teacher2"
}
]
}