A simple Next.js storefront example showing how to build an online shop using Droplinked Public APIs. This sample helps you quickly understand how to integrate products, carts, and shop data using Droplinked.
npm install- Go to the
https://droplinked.com/ - Open Settings → Developers
- Create a new API key
(Guide:
https://droplinked.gitbook.io/droplinked-store-front-help-center/library/droplinked-api/getting-started)
Create a .env file:
NEXT_PUBLIC_API_URL=https://api.io.droplinked.com
NEXT_PUBLIC_API_KEY=your_api_key_here
NEXT_PUBLIC_SHOP_NAME=your_shop_namenpm run devOpen http://localhost:3000 to view your storefront.
This sample demonstrates a full integration with Droplinked’s Public APIs.
Every API request must include your API key:
x-droplinked-api-key: YOUR_API_KEY
Full API Reference: 🔗 Droplinked API Reference
This sample project is provided for demonstrating Droplinked API integration.