Giter Site home page Giter Site logo

asoftco / shopify-app-starter-kit Goto Github PK

View Code? Open in Web Editor NEW
43.0 6.0 10.0 106 KB

Shopify app starter kit written in Ruby on Rails w/ appropriate tools to get your Shopify app up and running quickly ๐Ÿš€

Ruby 81.11% JavaScript 2.29% CSS 1.43% HTML 15.17%
starter-kit boilerplate ruby ruby-on-rails shopify shopify-apps shopify-api

shopify-app-starter-kit's Introduction

Shopify App Starter Kit

The Rails app with appropriate tools for quick starting developing shopify app.

How to install?

  1. git clone https://github.com/ASoftCo/shopify-app-starter-kit.git
  2. cd shopify-app-starter-kit
  3. git remote set-url origin new_git_repo_url
  4. bundle install && bundle exec rails db:create db:migrate
  5. Install and run Redis
  6. Rename the app module in the config/application.rb file
  7. Install ngrok
  8. Create a new app in your shopify partner account
  • use ngrok url as a App URL in the App setup section
  • add whitelisted redirection URL(s):
    http://<your_ngrok_host>/auth/shopify/callback
    https://<your_ngrok_host>/auth/shopify/callback
  1. rails credentials:edit and add all settings from config/credentials_sample.yml
  2. Change all credential values in your config/credentials.yml.enc file to appropriate ones.
  1. Add necessary workers to the app/jobs/ directory (e.g. if you add orders/create webhook, you should create orders_create_job.rb worker)
  2. For UI and CSS styles read about Polaris or Uptown CSS

Monitoring

There are several monitoring tools: New Relic, Sentry and Mixpanel. All that you need to do is to change the values of appropriate keys (new_relic_license_key, sentry_dsn, mix_panel_token) for your environment in the config/credentials.yml.enc file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.