0% found this document useful (0 votes)
0 views

[Assignment] - Shopify Developer (1)

Shopify developer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

[Assignment] - Shopify Developer (1)

Shopify developer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment -

Shopify Developer
Objective:

Develop and host a simple API, then integrate it into your Shopify store using Liquid. The
task is to display data fetched from your custom API directly on the Shopify storefront.

Task Breakdown:

Part 1: API Development

1. Choose a Backend Language:


Develop a simple REST API using any backend language you are comfortable with
(e.g., Node.js, Python, Ruby).
2. API Functionality:
Create an API with at least one endpoint that returns data in JSON format (e.g., a
list of recommended products, special offers, or tips).
3. Host the API:
Deploy the API on a free hosting platform such as Heroku, Vercel, or Replit. Ensure
the API is publicly accessible.

Part 2: API Integration with Shopify Using Liquid

1. Access the Shopify Theme Code:


Go to your Shopify store's theme editor and select the appropriate Liquid template
file where you want to display the API data (e.g., homepage, product page, etc.).
2. Fetch Data from API:
Use JavaScript within the Liquid template to fetch data from the hosted API.
3. Display API Data:
Render the fetched data on the Shopify store using Liquid and JavaScript to
dynamically display it on the page.
4. Test the Integration:
Preview the Shopify store to verify that the data from the API is being correctly
displayed.
Final Deliverables:

● Hosted API URL: Share the publicly accessible URL of your API.
● Shopify Store Link: Provide a link to the live Shopify store with the integrated API
data.

You might also like