diff --git a/server/routers/esc/index.js b/server/routers/esc/index.js new file mode 100644 index 0000000..9157242 --- /dev/null +++ b/server/routers/esc/index.js @@ -0,0 +1,12 @@ +const router = require("express").Router(); + +router.get('/game-links', (request, response) => { + response.send(require('../json/game-links/success.json')) + }) + +router.get('/4u2k-links', (request, response) => { + response.send(require('../json/4u2k-links/success.json')) +}) +; + +module.exports = router; \ No newline at end of file diff --git a/server/routers/esc/json/4u2k-links/success.json b/server/routers/esc/json/4u2k-links/success.json new file mode 100644 index 0000000..7f30fb5 --- /dev/null +++ b/server/routers/esc/json/4u2k-links/success.json @@ -0,0 +1,31 @@ +{ + "data":[ + { + "type": "video", + "links": { + "l1": "https://www.youtube.com/embed/DsQMLrPdLf8?si=l9X57nHqaSYlxDFf", + "l2": "https://www.youtube.com/embed/Dk8AAU_UdVk?si=N8NdYMUCfawdsJGE", + "l3": "https://www.youtube.com/embed/HKfDfWrCwEA?si=qPugjiKR8V9eZ-yG", + "l4": "https://www.youtube.com/embed/tD-6xHAHrQ4?si=ZFe41gSK8d5gqahW" + } + }, + { + "type": "podcast", + "links": { + "l1": "https://www.youtube.com/embed/RtVs87Nd1MQ?si=i4giUCtbp4Ouqv2W", + "l2": "https://www.youtube.com/embed/DfTU5LA_kw8?si=m7fI5Ie9yIGDFCrU", + "l3": "https://www.youtube.com/embed/Sp-1fX1Q15I?si=xyealVly9IBMW7Xi", + "l4": "https://www.youtube.com/embed/rLYFJYfluRs?si=MjW1beQ-Q9-TAehF" + } + }, + { + "type": "entertainment", + "links": { + "l1": "https://www.youtube.com/embed/DiuuglRCchQ?si=8wTVXKbV-mbHuSjW", + "l2": "https://www.youtube.com/embed/zmZcIX5PEyo?si=Hbrv32kl0fqcmtV9", + "l3": "https://www.youtube.com/embed/Te-TZUjmzFQ?si=fNG16eruoFEY2KNq", + "l4": "https://www.youtube.com/embed/si-MQ5qg3zE?si=67mfO6gV80n1ULqo" + } + } + ] +} \ No newline at end of file diff --git a/server/routers/esc/json/game-links/success.json b/server/routers/esc/json/game-links/success.json new file mode 100644 index 0000000..b6e8b50 --- /dev/null +++ b/server/routers/esc/json/game-links/success.json @@ -0,0 +1,20 @@ +{ + "data":[ + { + "title": "ABC", + "description": "Мой брат Колян сбацал про меня байку на англицком и несколько фишек кинул для шухера. Англицкий ты вроде знаешь, впряжешься за меня, а?", + "link": "https://www.oxfordonlineenglish.com/english-level-test/reading" + }, + { + "title": "Алё, меня слышно?", + "description": "Мой кент на мобилу текст записал с иностранкой. Понимаешь, о чём тут говорят?", + "link": "https://test-english.com/listening/" + }, + { + "title": "Анонимное тестирование", + "description": "Ты язык-то нормально знаешь? Проверься, никто угарать не будет", + "link": "https://www.ego4u.com/en/cram-up/tests" + + } + ] +} \ No newline at end of file