Skip to content

Soleone/shopify_app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify application generator

Description:

This plugin adds access to Shopify’s powerful API to your rails application.

The generator creates a basic login controller for authenticating with your
Shop and a controller called “dashboard” which displays basic information
about your products, orders and articles.

Note: It’s recommended to use this on a new Rails project, so that the
generator won’t overwrite/delete some of your files.

Installation:

script/plugin install git://github.com/Shopify/shopify_app

Usage:

All API usage happens through Shopify applications, created by either shop owners for their own shops, or by Shopify Partners for use by other shop owners:

  • Shop owners can create applications for themselves through their own admin (under the Preferences > Applications tab).
  • Shopify Partners create applications through their admin. If you don’t have a Partners account yet, register here for free.

For more information and detailed documentation visit http://api.shopify.com

Example:

Pass your API key and then your Secret, which the login controller will need to authenticate with your shop.

script/generate shopify_app edffbb1bb793e2750686e6f4647a384a fed5bb18hde3e2750686e6f4647a781a

This will create a login controller and a dashboard controller with their own views.

After running the generator:

  1. Run your application with script/server
  2. And visit http://localhost:3000 and you are ready to log in with your Shopify account.

About

Adds a full Shopify API Application environment to your application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%