{"repo":"ericdude4/shopifex","free":true,"listed":false,"github":"https://github.com/ericdude4/shopifex","clone":"git clone https://github.com/ericdude4/shopifex.git","description":"🛍️ Build Shopify Apps with Elixir Phoenix","language":"Elixir","stars":115,"topics":["elixir","shopify"],"license":"Apache-2.0","category":"ecommerce","readme_excerpt":"--- A simple boilerplate package for creating Shopify embedded apps with the Elixir Phoenix framework. https://hexdocs.pm/shopifex Installation The package can be installed by adding shopifex to your list of dependencies in mix.exs : (note, OTP 22 or greater required) Quickstart Run the install script This will install all of the supported Shopifex features. Follow the output config.ex and router.ex instructions from the install script. Run migrations Update Shopify app details Replace tunnel-url with your own where applicable. - Set \"App URL\" to https://my-app.ngrok.io/auth - Add https://my-app.ngrok.io/auth/install & https://my-app.ngrok.io/auth/update to your app's \"Allowed redirection URL(s)\" - Add your Shopify app's API key and API secret key to config :shopifex, api key: \"your-api-key\", secret: \"your-api-secret\" Manual Installation Create the shop schema where the installation data will be stored: Add the :shopifex config settings to your config.ex . More config details here Update your endpoint.ex to include the custom body parser. This is necessary for HMAC validation to work. Add this line near the top of router.ex to include the Shopifex pipelines Now the following pipelines are accessible: - :shopify session - Validates request (HMAC header/param or token param) and makes session information available via Shopifex.Plug API. Also removes iFrame blocking headers so app can render in Shopify admin. - :shopify webhook - Validates Shopify webhook requests HMAC and makes","default_branch":null,"files":null,"tree":[],"storefront":"/r/ericdude4","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ericdude4/shopifex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}