MagicLegend / shopify-app-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Shopify PHP app

Starting the App

Environment variables

Make sure that you have a .env file. You can look at .env.example and .env.testing for inspiration. `.env file must contain the following environment variables

  • SHOPIFY_API_KEY
  • SHOPIFY_API_SECRET
  • SCOPES
  • HOST

Start laravel

php artisan serve

Serving React

Make sure to run npm install before running the application.

npm run watch

Check Laravel Docs: Running Mix for more information

Running tests

composer install
composer test

About


Languages

Language:PHP 93.6%Language:JavaScript 4.9%Language:Blade 1.0%Language:Shell 0.4%Language:Procfile 0.1%