Compare commits
No commits in common. "b8275a4c8ff22f4606e46520f383a3e1eca04d4c" and "812a95dd85f8c09a30bc8d8842ed5b0809d864c7" have entirely different histories.
b8275a4c8f
...
812a95dd85
@ -59,7 +59,6 @@ app.use('/r-and-m', require('./routers/r-and-m'))
|
|||||||
app.use('/my', require('./routers/my'))
|
app.use('/my', require('./routers/my'))
|
||||||
app.use('/edateam', require('./routers/edateam'))
|
app.use('/edateam', require('./routers/edateam'))
|
||||||
app.use('/webstar-project', require('./routers/webstar-project'))
|
app.use('/webstar-project', require('./routers/webstar-project'))
|
||||||
app.use('/dogsitters-finder', require('./routers/dogsitters-finder'))
|
|
||||||
//app.use('/basket', require('./routers/basket'))
|
//app.use('/basket', require('./routers/basket'))
|
||||||
//app.use('/easy-project', require('./routers/easy-project'))
|
//app.use('/easy-project', require('./routers/easy-project'))
|
||||||
//app.use('/sugarbun', require('./routers/sugarbun'))
|
//app.use('/sugarbun', require('./routers/sugarbun'))
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
const { response } = require('express');
|
|
||||||
|
|
||||||
const router = require('express').Router();
|
|
||||||
|
|
||||||
router.get("/users", (request, response) => {
|
|
||||||
response.send(require("./json/users.json"))
|
|
||||||
})
|
|
||||||
|
|
||||||
module.exports = router;
|
|
@ -1,43 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"id": 1,
|
|
||||||
"phone_number": 89283244141,
|
|
||||||
"password": "1234",
|
|
||||||
"first_name": "Вася",
|
|
||||||
"second_name": "Пупкин",
|
|
||||||
"role": "dogsitter",
|
|
||||||
"location": "Россия, республика Татарстан, Казань, улица Пушкина, 12",
|
|
||||||
"price": 1500,
|
|
||||||
"about_me": "Я люблю собак"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 2,
|
|
||||||
"phone_number": 89272844541,
|
|
||||||
"password": "1234",
|
|
||||||
"first_name": "Ваня",
|
|
||||||
"second_name": "Пуськин",
|
|
||||||
"role": "dogsitter",
|
|
||||||
"location": "Россия, республика Татарстан, Казань, улица Абсалямова, 19",
|
|
||||||
"price": 1000000,
|
|
||||||
"about_me": "Я не люблю собак. И вообще я котоман."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 3,
|
|
||||||
"phone_number": 89872855893,
|
|
||||||
"password": "12345",
|
|
||||||
"first_name": "Гадий",
|
|
||||||
"second_name": "Петрович",
|
|
||||||
"role": "owner"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 4,
|
|
||||||
"phone_number": 89872844591,
|
|
||||||
"password": "12345",
|
|
||||||
"first_name": "Галкин",
|
|
||||||
"second_name": "Максим",
|
|
||||||
"role": ["owner", "dogsitter"],
|
|
||||||
"location": "Россия, республика Татарстан, Казань, проспект Ямашева, 83",
|
|
||||||
"price": 1000000,
|
|
||||||
"about_me": "Миллион алых роз"
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in New Issue
Block a user