
Begin by building a Shopify app from scratch with vanilla PHP, utilizing GraphQL and REST APIs, and manage sessions or JWT, redirects, modals, and the app installation flow.
Install development tools for Shopify app development by setting up a code editor and a local web server, then run Apache and MySQL to access localhost.
Learn to create a Shopify app manually, generate the api key (client ID) and secret key (client secret), and configure localhost redirect URLs for install and token retrieval.
Understand how API key, secret key, and access tokens authenticate a Shopify app, manage scopes, and choose online or offline access with nonce and redirect.
Learn to set up a secure ngrok tunnel for your local Shopify app, generate an authentication token, configure the tunnel URL in your app, and refresh it after restarting.
Develop and install a Shopify app using vanilla php, building the oauth flow, creating the app installer, and handling the authorization url, nonce, scopes, and redirect for token exchange.
Generate and validate Shopify access tokens in a vanilla PHP app by computing a sha256 HMAC over parameters, verifying the mac, and exchanging the code via curl.
Set up a mysql database and shops table to store shop_url and access_token, with an auto-increment id and install date, and create a php includes file to connect.
Save shop access tokens to a MySQL database by inserting into the shops table, using now() for install date, and updating tokens with on duplicate key update.
retrieve shop access tokens from the database using a mysql query, handle missing records by redirecting to install, then fetch and echo stored shop data for future api calls.
Learn to build a vanilla PHP Shopify REST API function, handling access tokens, endpoints, and curl options to perform GET, POST, PUT, and DELETE calls.
Fix invalid API key or access token in a Shopify app by renewing tokens, reinstalling the app, and using JavaScript to redirect at the top level from an iframe.
Learn to use the Shopify rest api in a PHP app by setting the store url and access token, calling endpoints for products and scopes, and building navigation.
Create a navigation bar for the Shopify embedded app by adding index, products, and script tags links, create corresponding pages, and display hello world content.
Learn to build a multipage Shopify app, fetch products via the REST API, and implement token checks, product management, script tag scopes, and a Polaris-like UI.
Learn to create a beautiful user interface for Shopify apps using Uptown's CSS framework, building a proper structure with header, main, section, and footer while applying an alert component.
Learn to build a dynamic Shopify product table in a vanilla php app, fetch products via the api, and filter results using endpoint properties like limit and status.
Learn to delete a Shopify product using the product API's delete endpoint by submitting a form with the product ID, posting to the same page, and performing the API call.
Update a product via the product API's put method by supplying the product id and updated attributes in a JSON object through a PHP form.
Create a product using the Shopify product API post method, driving a form for title and description to the REST endpoint, and review the response and essential fields.
Learn to create Shopify script tags with the script tag API by posting a JavaScript file, setting event and src, choosing display scope, and testing the REST integration.
Learn to delete a Shopify script tag with the delete method of the script tag REST API, including fetching the tag by id and removing all matching entries.
Learn how GraphQL, a query language for APIs, enables efficient data fetching from the Shopify API by avoiding overfetch and underfetch, with hands-on examples of querying shop details and products.
Create a vanilla PHP GraphQL API function for Shopify, configuring cURL headers and access tokens to execute GraphQL queries and test retrieving shop id, name, and email.
Explore fetching Shopify products with GraphQL using the graph QOL function, compare it to REST API, and learn to use edges and nodes to retrieve id, title, and image URLs.
Learn to create a script tag via GraphQL mutations in a Shopify app, including input fields, url, display scope, and error handling with secure https URLs.
Explore issues that arise when using GraphQL with REST in Shopify. GraphQL IDs differ from REST IDs, requiring parsing to extract the REST ID for updates.
Install Shopify App Bridge to embed your app in the Shopify admin, initialize with API key and shop origin, and set up the title bar with breadcrumbs and redirects.
Learn to create actions in embedded Shopify apps, including buttons for navigation, redirects between pages, and models, using dispatch and open actions to control app flow.
Learn to obtain a Shopify session token with the App Bridge utility using getSessionToken, inspect the JWT header, payload, and signature, and verify the signature with your API secret key.
Learn to verify session token signatures using a PHP workflow that computes an HMAC-SHA256 hash of the header and payload with a secret key and validates the result.
Learn to save social tokens to a database using a sessions table, including shop URL and session token, update on duplicates, and understand token expiry and verification.
examine saving session tokens in a database, noting social tokens' stateless lifespan. verify sessions by checking expiration and not valid before timestamps for Shopify api calls, distinguishing from access tokens.
Clean up the verify session flow in a vanilla PHP Shopify app. Simplify time handling, token expiration checks via signature validation, and structured success or error responses.
Learn to implement authenticated frontend api calls with axios, configure headers and tokens, and execute GraphQL and REST requests to a Shopify store.
Fix a put rest api call by encoding meta fields as json, setting content-type to application/json, and sending data as json rather than a query variable.
Learn how to monetize Shopify apps with the billing API, including one-time, recurring, and credit charges, and guide developers through initiation, merchant consent, and post-charge redirects.
Learn how to implement a one-time charge in a Shopify app using GraphQL, including access token validation and redirecting merchants to the confirmation page.
Learn how to prevent merchants from being charged more than once by leveraging a billing table, checking charge status, and using unique keys to guard against duplicates.
Implement recurring application charges by defining a GraphQL app subscription mutation, generating a monthly or yearly plan, and directing merchants to a confirmation URL.
Prevent null errors by validating the MySQL query result before accessing billing data or charge IDs; ensure the row count is greater than zero before use.
Learn to issue and use application credits to refund merchants and offset future Shopify charges. Explore credit limits, last 30 days, REST API endpoints, and testing scenarios for valid credits.
When you wish to learn to program, the first thing most coders think of is to learn Python, C++, WordPress, or WooCommerce. But all of these languages and platforms are already saturated. That's why if you learn them, you'll most likely end up not getting a profit.
So, instead of making WordPress or other stuff, why not start making Shopify apps? Like what Shopify said, "There's never been a better time to build a Shopify app because there are more than 1.8 million merchants across the globe that build, scale, and manage their businesses on Shopify".
If you don't know, Shopify apps play an important role in every Shopify store's success. In fact, it is SO important that every Shopify store uses an average of SIX Shopify apps.
So why not start making Shopify apps?
If you don't know, you can make thousands of dollars with Shopify apps MONTHLY! You heard me right, MONTHLY! and you know what's more amazing? Shopify is no longer getting any shares from your app revenues! What that means is your profit is all yours!
So, are you interested?
In this course, I will be teaching you how to create a Shopify app from scratch using vanilla PHP. That means we are NOT going to rely on libraries or repositories created by other programmers. We ARE going to create everything from scratch.
If you want to learn more about me, I have been developing Shopify apps since 2018 and so all of the things I know, I will be sharing with you so YOU can start your new career and make a profit out of your Shopify apps.
Here is what you are going to learn in this course:
Creating API credentials
Understanding API and secret keys
Creating a local server and tunneling
Connecting your Shopify app to the database
Creating Shopify OAuth
Generating access tokens
Creating REST API & GraphQL functions
Fixing basic errors
Creating and adding ScriptTags
Shopify App Bridge
JWT / Session Tokens
Webhooks
and much more!
If you think you're ready to start a new career then join us and let's begin creating YOUR very first Shopify app!