Compare commits

..

No commits in common. "569b1b0d9e69daa6ab64a33ffccb819dd6c92584" and "63284d6c08df5424de810f9be74d4d35ce78c8be" have entirely different histories.

3 changed files with 2 additions and 18 deletions

View File

@ -7,8 +7,5 @@ router.get('/teachers', (request, response) => {
router.get('/account', (request, response) => { router.get('/account', (request, response) => {
response.send(require('./json/account/account.json')) response.send(require('./json/account/account.json'))
}) })
router.post('/login', (request, response) => {
response.send(require('../json/login/success.json'))
})
module.exports = router; module.exports = router;

View File

@ -2,6 +2,7 @@
"data": [ "data": [
{ {
"login": "user1", "login": "user1",
"password": "1234",
"photo": "boy", "photo": "boy",
"surname": "Иванов", "surname": "Иванов",
"name": "Иван", "name": "Иван",
@ -13,6 +14,7 @@
}, },
{ {
"login": "user2", "login": "user2",
"password": "1234",
"photo": "boy", "photo": "boy",
"surname": "Александров", "surname": "Александров",
"name": "Александр", "name": "Александр",

View File

@ -1,15 +0,0 @@
{
"data":
{
"login": "user1",
"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"]
}
}