Skip to content

lulessa/embedded-app-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify Embedded Application Example

This is an example application for building Shopify Embedded Applications. Your application credentials need to have embedded access to make this example work locally.

The example uses Ruby on Rails as a backend framework but the Shopify Embedded API is JavaScript based, so it is backend language/framework agnostic. Use this as a reference.

Setting up this application

Clone the repo from git:

git clone https://github.com/Shopify/embedded-app-example.git
cd embedded-app-example

To add your application credentials:

cp config/shopify_app.yml.example config/shopify_app.yml

Open the config/shopify_app.yml and add your credentials.

Install the gems:

bundle install

Run the server:

bundle exec rails server

To install the application on your dev-shop go to:

http://localhost:3000/login?shop=<yourdevshop-url.myshopify.com>

You will be prompted to install the application and will be redirected to the embedded Shopify environment once installed.

Documentation

The documentation on how to use the ShopifyApp Javascript file can be found here:

http://docs.shopify.com/embedded-app-sdk

About

A public example app implementing the Shopify Embedded App SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 55.9%
  • HTML 35.6%
  • JavaScript 5.8%
  • CSS 2.7%