Website | Documentation | Forums | Community
Bagisto Native Commerce is a ready-to-use storefront built on Bagisto Headless with Bagisto Native integration, enabling any React or Next.js application to seamlessly work with native mobile apps, modern frontend frameworks, and API-driven architectures.
You can directly use this storefront without building everything from scratch.
- Native-first commerce experiences
- Modern frontend stacks (Next.js, React)
- Mobile bridges & integrations
- Reusable SDKs & utilities
| Package | Description |
|---|---|
@bagisto-native/react |
React wrappers for the Web Components included in your projects |
@bagisto-native/core |
Core utilities and shared logic |
Before starting, ensure you have:
- Node.js 18 or higher
- React/Next.js project
- Bagisto store
- pnpm installed
If you haven't already, you can create a new storefront or use this repository directly:
git clone https://github.com/bagisto/bagisto-native-commerce
cd bagisto-native-commercepnpm installCreate a .env.local file and add your Bagisto API details. This keeps your settings secure and organized.
Click the button above to deploy your own copy of Bagisto Native Commerce to Netlify instantly!
- Note: Add env variables in Netlify dashboard
Once your Next.js project is running (e.g., at http://localhost:3000), you can connect it to the native mobile applications.
- Clone the iOS Repository:
git clone https://github.com/SocialMobikul/BagistoNative_iOS.git cd BagistoNative_iOS - Open in Xcode:
open BagistoNative.xcodeproj
- Configure Base URL:
Find the
base_urlvariable in your Swift code and replace it with your project URL:let base_url = "http://localhost:3000"
- Build & Run: Select a simulator and click Run.
- Clone the Android Repository:
git clone https://github.com/SocialMobikul/BagistoNative_android.git cd BagistoNative_android - Open in Android Studio: Open the project folder.
- Configure Base URL:
Find the
base_urlvariable inConstants.java(or equivalent):public static String base_url = "http://localhost:3000";
- Build & Run: Select an emulator and click Run.