Openfront Convenience is a self-hostable convenience-store retail and operations application. Customers can browse a local catalog and prepare a basket, while staff manage POS, registers, cash, pricing, purchasing, inventory, prepared food, restricted sales, reconciliation, and reporting.
Documentation: docs.openship.org/docs/openfront/convenience
| Storefront | convenience.openship.org |
| Dashboard | convenience.openship.org/dashboard |
Every Openfront is open source and self-hostable. Try any of them on its live demo.
| Product | For | Repository | Demo | Docs |
|---|---|---|---|---|
| Openfront E-commerce | Online store: catalog, checkout, orders, fulfillment | openfront | e-commerce.openship.org | Docs |
| Openfront Restaurant | Online ordering, POS and kitchen display | openfront-restaurant | restaurant.openship.org | Docs |
| Openfront Grocery | Grocery ordering, lots, expiry and pickup | openfront-grocery | grocery.openship.org | Docs |
| Openfront Gym | Memberships, classes, check-in and billing | openfront-gym | gym.openship.org | Docs |
| Openfront Hotel | Reservations, front desk, housekeeping, folios | openfront-hotel | hotel.openship.org | Docs |
| Openfront Rental | Short-term rental bookings and calendars | openfront-rental | rental.openship.org | Docs |
| Openfront Salon | Appointments, stylists and services | openfront-salon | salon.openship.org | Docs |
| Openfront Barbershop | Bookings, walk-ins and barbers | openfront-barbershop | barbershop.openship.org | Docs |
| Openfront Coffee Shop | Café ordering and counter POS | openfront-coffeeshop | coffee-shop.openship.org | Docs |
| Openfront Real Estate | Listings, showings and transactions | openfront-realestate | real-estate.openship.org | Docs |
| Openfront Dealership | Inventory, test drives, deals and service | openfront-dealership | dealership.openship.org | Docs |
| Openfront Vape | Age-gated retail with compliance controls | openfront-vape | vape.openship.org | Docs |
| Openfront Convenience (this repository) | Convenience store POS and inventory | openfront-convenience | convenience.openship.org | Docs |
| Openfront Collectibles | Graded items, consignment and provenance | openfront-collectibles | collectibles.openship.org | Docs |
| Openfront Cannabis | Dispensary menu, packages and recalls | openfront-cannabis | cannabis.openship.org | Docs |
| Openfront Pharmacy | Prescriptions, inventory lots and pickup | openfront-pharmacy | pharmacy.openship.org | Docs |
| Openfront Med Spa | Treatments, consents and memberships | openfront-medspa | medspa.openship.org | Docs |
| Openfront Construction | Projects, bids, change orders and crews | openfront-construction | construction.openship.org | Docs |
| Openfront Law Firm | Matters, intake, time and billing | openfront-law-firm | law-firm.openship.org | Docs |
| Openfront Scheduling | Booking pages for appointment businesses | openfront-scheduling | scheduling.openship.org | Docs |
| Openfront Social | Creator community and posts | openfront-social | social.openship.org | Docs |
| Openfront Rideshare | Rides, drivers and dispatch | openfront-rideshare | rideshare.openship.org | Docs |
| Openfront Airline | Flights, booking and passenger operations | openfront-airline | airline.openship.org | Docs |
| Openfront Hospital | Appointments, patients and care teams | openfront-hospital | hospital.openship.org | Docs |
| Openfront Sportsbook | Markets, bets and results | openfront-sportsbook | sportsbook.openship.org | Docs |
| Openfront Financial | Accounts, portfolios and advisory | openfront-financial | financial.openship.org | Docs |
| Openfront Analytics | Privacy-friendly website analytics | analytics | analytics.openship.org | Docs |
| Openship | Order routing from sales channels to fulfillment | openship | os.openship.org | Docs |
| Marketplace | Shop across Openfront stores | marketplace | marketplace.openship.org | Docs |
Manage platform through dedicated dashboard workspaces and permission-controlled data screens.
The local shopping surface includes /shop, product detail, /basket, /checkout, and /account. Catalog publication and checkout operate alongside the store's product, stock, and restricted-sale rules.
Manage POS sales, tenders, refunds, registers, shifts, cash movements, store-day records, bank deposits, and reconciliation.
Maintain products, variants, barcodes, tax categories, price books, promotions, loyalty, vendors, purchase orders, receiving, lots, counts, transfers, and waste.
Dedicated workspaces cover prepared food, restricted sales, fuel, lottery, money services, exports, exceptions, and recovery. Provider and hardware activation require separate operator configuration; these workspaces are not certifications for regulated services.
- Frontend: Next.js 16 with App Router and React 19.
- Backend: KeystoneJS 6 with a GraphQL API.
- Database: PostgreSQL with Prisma ORM.
- Styling: Tailwind CSS 4 and shared shadcn/ui components.
- Authentication: Password-based user accounts and session-based access with role capabilities.
openfront-convenience/
├── app/ # Public pages, dashboard routes, and HTTP endpoints
├── features/
│ ├── keystone/ # Backend models, access rules, and GraphQL workflows
│ ├── platform/ # Operator workspaces and onboarding
│ ├── storefront/ # Public application components and screens
│ └── dashboard/ # Authentication and shared dashboard shell
└── components/ # Shared UI components
The model registry and Prisma schema cover:
- Businesses, employees, roles, stores, registers, sessions, and shifts.
- Products, variants, barcodes, pricing, taxes, promotions, and loyalty.
- Inventory lots, ledgers, counts, transfers, vendors, purchasing, and receiving.
- Sales, tenders, refunds, cash movements, reconciliation, prepared food, fuel, and operational events.
- Node.js 22, compatible with the package requirements and Next.js 16.
- A PostgreSQL database you can migrate.
- npm.
-
Clone and install dependencies:
git clone https://github.com/openshiporg/openfront-convenience.git cd openfront-convenience npm install -
Configure environment variables: Create a local
.envfile using the runtime configuration as the authority.DATABASE_URL=postgresql://user:password@host/database SESSION_SECRET=replace-with-a-new-private-random-secret
Generate the session secret with
openssl rand -hex 32; use the generated value, not the placeholder. Never commit.env.Review runtime configuration for additional application settings before building or deploying. Configure enabled integrations separately; the two values above are not a complete production configuration.
-
Start development server:
npm run dev
The development script prepares the backend schema, applies checked-in migrations, and starts Next.js.
-
Access the application: Open the URL
npm run devprints, then use these paths:- Public application:
/ - Admin dashboard:
/dashboard - GraphQL API:
/api/graphql
- Public application:
-
Create your first admin user: Provision the first approved administrator with
npm run bootstrap:admin, following the owner-approval and credential requirements in the bootstrap script. The ordinary/dashboard/initflow is development-only and explicitly gated. -
Run application onboarding: After administrator bootstrap, run business onboarding and review stores, employees, registers, catalog, pricing, and permitted operating capabilities.
npm run dev- Prepare the backend schema, apply migrations, and start Next.js development.npm run build- Build the backend and Next.js for production; does not apply migrations.npm start- Start the production Next.js server.npm run migrate:gen- Run the guarded disposable-database migration generator; review its approval and database requirements first.npm run migrate- Run migration preflight, apply checked-in migrations, and check post-migration integrity.npm run lint- Run the repository's ESLint script.npm run typecheck- Run the configured TypeScript check.npm run test- Run the repository's configured test suite.npm run bootstrap:admin- Run the owner-approved first-administrator bootstrap.
Use a disposable development database for migration generation. Review the script before running it against any existing data.
The registered workflow commands cover payment events, integrations, restricted sales, offline replay, and operational recovery. There is no background worker or cron: operational alerts are evaluated by the staff "Evaluate now" button on the Exceptions page.
See the Openfront Convenience documentation for the application guide. The backend models, registered business workflows, access rules, and application routes document the implementation in this repository.
canAccessDashboard- Access dashboard.canManageCatalog- Manage catalog.canManageInventory- Manage inventory.canManageSales- Manage sales.canManageCash- Manage cash.canManagePurchasing- Manage purchasing.canManageCompliance- Manage compliance.
- Session-based authentication for signed-in users.
- Backend list access and workflow authorization, rather than dashboard visibility alone.
- Employee permissions are tied to an active business, business-owned role, and permitted stores. Platform administrators require explicit approval; machine credentials narrow access by business, store, and scope.
Review the access implementation and individual workflow checks before extending permissions.
- Platform:
/dashboard/platform.
The local shopping surface includes /shop, product detail, /basket, /checkout, and /account. Catalog publication and checkout operate alongside the store's product, stock, and restricted-sale rules.
Manage POS sales, tenders, refunds, registers, shifts, cash movements, store-day records, bank deposits, and reconciliation.
The Vercel button imports this application's own repository. Provision PostgreSQL and configure the application's complete runtime requirements, storage, mail, and enabled providers before building. Importing the source does not configure these services.
Build the application and apply checked-in migrations as a release step before starting the server. Back up existing data before migration.
npm run build
npm run migrate
npm startPreserve business/store scope across processes and review offline replay and reconciliation before adding registers.
Use the development commands above when preparing changes. Keep model changes and their migrations together, and describe workflow and permission changes in pull requests.
No top-level license file or package license declaration is included in this repository.
- Documentation: Openfront Convenience guide.
- Issues: Report bugs and feature requests.
- Product: Learn more about Openfront Convenience.
Built with Next.js and KeystoneJS.