Getting Started with Shopify App Development - Setting Up Ngrok

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

ความคิดเห็น • 15

  • @sandeeppangeni3114
    @sandeeppangeni3114 ปีที่แล้ว +1

    How can we deploy the app to the AWS EC2 instance without docker? Can you please make a video on deployment of the shopify app to the AWS? Hoping forward to get video on it.

  • @marcusmuasa5538
    @marcusmuasa5538 ปีที่แล้ว +2

    how do i migrate the app to production from local development running on

    • @GPTResearcher
      @GPTResearcher  ปีที่แล้ว

      Within your .env files, update the relevant variables

    • @sandeeppangeni3114
      @sandeeppangeni3114 ปีที่แล้ว

      @@GPTResearcher Can you please provide the file structure and sample .env file with required variables.

  • @sandeeppangeni3114
    @sandeeppangeni3114 ปีที่แล้ว

    How can we communicate between the theme app extension and the app backend? For example. form submit and save that data to the database via the app backend. Do you have any idea about it?

    • @GPTResearcher
      @GPTResearcher  ปีที่แล้ว +2

      Yup.
      I would install the app on the demo store & open up the Chrome Devtools.
      Go to the Devtools "Network" tab & press "Preserve log".
      Then create a post & inspect the Route where the POST request with the Blog Post body is sent
      G'luck 👍

    • @GPTResearcher
      @GPTResearcher  ปีที่แล้ว +2

      Here's the relevant code for your Shopify Liquid Template (it hashes the customer email on the frontend & dehashes on the server to verify it's from an actual Shopify Customer)
      const data = { title, body, tags: tagIDs };
      $http.post('${proxyRoute}/user/blog?email={{ customer.email }}&name={{ customer.name }}&hash={{ customer.email | append: 'somecrazyhash' | md5 }}', data)
      .success(function(data) {
      document.getElementById('new-post').innerHTML =
      ''+data.message+'';
      delete $scope.title;
      })
      Source: github.com/ElishaKay/udemy-fullstack-shopify-app/blob/main/Proxy/routes/liquid-templates/angular/components/createNewPost.js
      cheers

  • @kdusha-
    @kdusha- ปีที่แล้ว +1

    Love you tnx

  • @robbyrish13
    @robbyrish13 9 หลายเดือนก่อน +2

    There are so many missing steps in this tutorial. I gave up.

  • @habiburrahman2306
    @habiburrahman2306 ปีที่แล้ว +1

    it's grate

  • @thread_pool
    @thread_pool 2 ปีที่แล้ว +3

    losethequit

    • @GPTResearcher
      @GPTResearcher  2 ปีที่แล้ว +3

      @Brendan C., it's now available here: github.com/ElishaKay/udemy-fullstack-shopify-app