Shopify starter app with Tailwind and Alpine.js admin ready.
The Example Shopify PHP app is a PHP application that is specifically designed for integrating Shopify functionality into a website or online store. This app allows users to easily connect and interact with the Shopify API, making it easier to manage and customize their Shopify store.
To install the Example Shopify PHP app, follow these steps:
Make sure you have a .env file in your project directory. You can refer to the .env.example and .env.testing files for inspiration.
The .env file must contain the following environment variables:
SHOPIFY_API_KEY: Your Shopify API key.SHOPIFY_API_SECRET: Your Shopify API secret.SCOPES: The necessary scopes required for accessing specific Shopify resources.HOST: The host for the Laravel application.Start the Laravel server by running the command php artisan serve.
Serving the React application is also possible by running npm install to install the necessary dependencies before running npm run watch for continuous compilation of the application.
For more information on running Mix, refer to the Laravel docs.
The Example Shopify PHP app is a powerful tool for developers who want to integrate Shopify functionality into their PHP applications. With its easy-to-use API integration and convenient use of environment variables, it provides a seamless way to interact with Shopify, making it easier to manage and customize Shopify stores.