https://github.com/openshiporg/openfront-storefront
Standalone storefront that connects to any Openfront backend via GraphQL
https://github.com/openshiporg/openfront-storefront
Last synced: 9 months ago
JSON representation
Standalone storefront that connects to any Openfront backend via GraphQL
- Host: GitHub
- URL: https://github.com/openshiporg/openfront-storefront
- Owner: openshiporg
- Created: 2025-09-02T18:37:19.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-02T18:39:31.000Z (9 months ago)
- Last Synced: 2025-09-02T20:35:34.052Z (9 months ago)
- Language: TypeScript
- Size: 1.57 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Openfront Storefront
A standalone storefront that connects to any Openfront backend instance. This allows you to create custom storefronts that consume data from your main Openfront installation.
Openfront is built with a feature-sliced architecture, including the storefront. This repository takes the storefront feature slice and packages it as a separate application that connects to your main Openfront instance via GraphQL API.
## Overview
This is a decoupled storefront built with Next.js that communicates with Openfront's GraphQL API. You can deploy this separately from your main Openfront instance and connect it via environment variables.
## Quick Setup
1. Clone this repository
2. Install dependencies: `npm install`
3. Set your Openfront GraphQL endpoint in `.env`:
```
OPENFRONT_GRAPHQL_ENDPOINT=https://your-openfront-instance.com/api/graphql
```
4. Start development server: `npm run dev`
## Environment Variables
- `OPENFRONT_GRAPHQL_ENDPOINT` - The GraphQL endpoint of your Openfront backend
- `HIDE_OPENFRONT_BRANDING` - Set to `true` to hide Openfront branding (optional)
## Deploy
Deploy your own instance with one click:
[](https://vercel.com/new/clone?repository-url=https://github.com/openship/openfront-storefront)
## Documentation
For more information about Openfront, visit the main [Openfront repository](https://github.com/openshiporg/openfront).