Create an example of integration with Nuxt documentation application
77 USDIt contains 3 sections of documentation:
- https://docs.vuestorefront.io/v2/architecture/networking.html
- https://docs.vuestorefront.io/v2/architecture/application-context.html
- https://docs.vuestorefront.io/v2/architecture/server-middleware.html
You need to use these docs in the clean VueStorefront (I will send the repositories) to create a working example of integration on 1 api call through SKD of a third-party service.Just to understand how the process of creating integration is organized and get a working example on 1 request, which I’m going to further adapt and expand to myself.There is already ready integration with another external service (realized according to the same scheme) and there are boilerplates to create new integrations with CMS and eCommerce.I will provide you with all the links if you need them.But they’re overcomplicated – it’s unclear how to downward them to the case I want with one-bit action.The expected result (compatible with what is described in the links above):
$customIntegration in the context of the application
- the availability of endpoint'a /api/customIntegration/oneExampleMethod, the address to which leads to middleware(!)Connect SDK on the middleware side (so that the SDK token does not shine)
- and one simple example of the implementation of any request from this SDK
SDK itself is adequate - I will provide it - when it works directly everything works.Only requests when working directly with it respectively light the token, so you need to implement middleware.The main objective and task is that.PS: For those who want to check VueStorefront before making a bet - you can put this set here https://docs.vuestorefront.io/magento/ - it goes immediately with one of the integrations from the box.Per
Имеется фронтенд платформа VueStorefront (https://docs.vuestorefront.io/v2/) в основе которой Nuxt 2
И в ней имеется 3 раздела документации:
- https://docs.vuestorefront.io/v2/architecture/networking.html
- https://docs.vuestorefront.io/v2/architecture/application-context.html
- https://docs.vuestorefront.io/v2/architecture/server-middleware.html
Нужно по этим докам в чистой VueStorefront (пришлю репозиторий) создать работающий пример интеграции на 1 api call через SKD стороннего сервиса. Просто чтобы понять как устроен процесс создания интеграции и получить работающий пример на 1 запрос, который я буду дальше уже адаптировать и расширять под себя.
Есть уже готовая интеграция с другим внешним сервисом (реализованная по этой же схеме) и есть бойлерплейты для создания новых интеграция с CMS и eCommerce. Предоставлю все ссылки, если они Вам понадобятся. Но они переусложнённые - не понятно как их даунгрейднуть до нужного мне кейса с одно-битным действием.
Ожидаемый результат (соответствует описанному по ссылкам выше):
- наличие $customIntegration в контексте приложения
- наличие endpoint’a /api/customIntegration/oneExampleMethod, обращение к которому ведёт на middleware(!)
- подключение SDK на стороне middleware (чтобы токен для сдк не светился )
- и один простой пример реализации любого запроса из этого SDK
Сам SDK адекватный - предоставлю его - при работе напрямую всё работает. Только запросы при прямой работе с ним соответственно светят токен, - поэтому нужно внедрить middleware. И основная цель и задача именно в этом.
PS: для тех кто хочет пощупать VueStorefront до того как сделать ставку - можете поставить вот эту сборку https://docs.vuestorefront.io/magento/ - она идёт сразу с одной из интеграций из коробки. Возможно существующий пример чем то поможет в понимании устройства для создания новой кастомной с нуля (напишите мне сообщение, если у Вас не подтянется бекенд из коробки - я пришлю Вам свой енв).
Client's feedback on cooperation with Dmitry Thorzhevsky
Create an example of integration with Nuxt documentation applicationI am grateful to Dmitry for reacting to a non-standard task that the majority of the specialists invited to cooperate did not even decide to insight into the essence of the task.
The task described in the description is accomplished. The result received.
-
3531 88 3 3 I can do integration, there is a great experience in connecting apps, with vuejs in particular.
The example of integration with CMS and eCommerce does not prevent.
"- connecting the SDK on the middleware side (so that the SDK token does not shine)"
This point is not clear until the end, can you talk about the token?
Usually I simply make 1 application authorization request to get a token, put it in the store and subsequent requests send with this token in mind.
Могу сделать интеграцию, есть большой опыт в подключении апи, с vuejs в частности.
пример интеграций с CMS и eCommerce не помешает.
"- подключение SDK на стороне middleware (чтобы токен для сдк не светился )"
этот пункт до конца не ясен, можете разжевать про токен?
Обычно просто делаю 1 запрос на авторизацию в апи для получения токена, ложу его в store и последующие запросы отправляю с учетом этого токена
Current freelance projects in the category JavaScript
Landing page on Next.jsIt is necessary to develop the landing page using the following range of technologies: Next.js, Redux, Tailwind. There are 3 versions of the site, namely the desktop, tablet and mobile versions. Design in made in Figma, the link is listed below. It is also necessary to realize… HTML and CSS, JavaScript ∙ 11 proposals |
Search for a frontend developer. JS, React
773 USD
Hello to you. We need a person who has experience working with technologies: React.js, Next.js, html, css, javascript. Podonos, founded in the United States in 2024, was founded by experienced former Google employees. Our service evaluates the efficiency and performance of… JavaScript, Web programming ∙ 18 proposals |
Opencart 2.1 - Нова пошта API, доробка модуля
26 USD
ТЗ: https://docs.google.com/document/d/1eaMmqEBuKOtk_K1X-NFXG_47GGwO77YeR6q355lKa-I/edit?usp=sharing Для виконання і знайомства із завданням будуть надані доступи до тестового серверу. JavaScript, PHP |
Настроить придачу данных из Битрикса в Гугл Через выгрузку Google ClicПередача параметров в Google (надо реализовать) Каждый раз, когда у клиента появляется оплаченный заказ, добавлять строки с gclid (Google click ID) в csv таблицу (выложить ее на такой url: https://ссылка на сайт будет/gclid) по такому шаблону: Google Click ID - gclid Conversion… JavaScript, PHP |
Розробник, Developer для редагування сайту/теми на Shopify
52 USD
Є налаштований сайт з шаблоном, де є певний список задач, які потрібно відредагувати. В темі відсутні меню і підменю, а є тільки фільтри колекцій, необхідно в тому ж стилі зробити бокове меню для каталогу. Референс та скрін мого сайту прикріплений. Також потрібно пофіксити… JavaScript, Online stores and e-commerce ∙ 3 proposals |