万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    Storefront APIどこ?Hydrogen

    .envに書きたい これは自分のどこだ?

    SESSION_SECRET="foobar"
    PUBLIC_STOREFRONT_API_TOKEN="3b580e70970c4528da70c98e097c2fa0"
    PUBLIC_STOREFRONT_API_VERSION="2023-01"
    PUBLIC_STORE_DOMAIN="hydrogen-preview.myshopify.com"

    https://shopify.dev/docs/custom-storefronts/hydrogen/environment-variables

    PUBLIC_STOREFRONT_API_TOKEN: The public access token for the Storefront API.
    PRIVATE_STOREFRONT_API_TOKEN: The private access token for the Storefront API.
    PUBLIC_STOREFRONT_API_VERSION (optional): The Storefront API version. Defaults to the version of the Storefront API used by Hydrogen.
    PUBLIC_STORE_DOMAIN: The domain of the store used to communicate with the Storefront API.
    SESSION_SECRET: A secret used to sign session cookies. Refer to the Remix documentation on using sessions for more information.

    Storefront APIってどこ?

    https://laboratory.kazuuu.net/issuing-shopify-admin-api-keys-and-getting-access-talks-for-storefront-apis/

    この記事にある?