Openfront Rental is a self-hostable platform for professional short-term accommodation managers. Guests can search stays, request quotes, reserve accommodation, sign agreements, and review private trip information. Hosts use the dashboard for properties, listings, calendars, pricing, reservations, guest messages, property tasks, payments, and owner statements.
Documentation: docs.openship.org/docs/openfront/rental
Housekind
| Storefront | rental.openship.org |
| Dashboard | rental.openship.org/dashboard |
| User | [email protected] |
| Password | TwgDfZxLLDmyK7PGgTYu |
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 (this repository) | 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 | 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 properties, accommodation units, listings, calendar blocks, pricing, reservations, guests, and agreements. Host workspaces also cover messages, property tasks, reviews, channels, payment records, payouts, owner statements, and reports.
Guests can search published stays, view listing details, browse collections, compare properties, and request a quote for dates and guest counts. Quote checkout leads to reservations; private trip, agreement, and message links support the guest journey.
Rates, seasonal rates, fees, taxes, cancellation policies, and house rules define stay terms. Quotes and reservation lines preserve accepted stay details. Host commands support reservation transitions, amendments, unit reassignment, cancellation requests, and agreement signing.
Properties, units, calendar blocks, and property tasks support accommodation operations. Hosts can manage inbox conversations and review moderation. Owner assignments, statements, statement lines, payout records, security deposits, and damage claims keep financial and ownership records linked to stays; these records are not an external payout or deposit-custody service.
Manual payments are recorded by authorized hosts. Card payments go through Stripe; the mode follows the keys. Refund review and provider-attempt reconciliation are separate host workflows. Direct and iCalendar adapters support calendar exchange; no native OTA adapter is registered.
- 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 with shared shadcn/ui components.
- Authentication: Session-based with role-based permissions.
openfront-rental/
├── app/ # Search, listing, checkout, trip, and host routes
│ ├── dashboard/ # Host workspaces and first-admin setup
│ └── api/ # Health, payment webhooks, and assistant endpoints
├── features/
│ ├── keystone/ # Models, host access, and stay commands
│ ├── platform/ # Host workspaces and onboarding
│ ├── storefront/ # Guest components and screens
│ └── integrations/ # Manual and Stripe card payments, calendar adapters
└── components/ # Shared UI components
The Keystone model registry and Prisma schema cover:
- Users, roles, host organizations, and host memberships.
- Properties, addresses, owners, owner assignments, units, bedrooms, beds, and amenities.
- Listings, media, collections, house rules, and calendar blocks.
- Rate plans, seasonal rates, fees, taxes, cancellation policies, and stay quotes.
- Guests, reservations, amendments, line items, and stay agreements.
- Payments, refunds, security deposits, damage claims, payouts, and owner statements.
- Conversations, messages, reviews, property tasks, and channel records.
- Node.js 20.9 or later, compatible with Next.js 16.
- A PostgreSQL database you can migrate.
- npm.
-
Clone and install dependencies:
git clone https://github.com/openshiporg/openfront-rental.git cd openfront-rental npm install -
Configure environment variables: Create
.envin the repository root with your database and a newly generated session secret:DATABASE_URL=postgresql://user:password@host/database SESSION_SECRET=replace-with-a-new-random-value-of-at-least-32-characters PUBLIC_SIGNUPS_ALLOWED=false
Generate each secret separately, for example with
openssl rand -hex 32. Do not use the placeholder text as a secret.This repository has no environment example file; create
.envdirectly. SetNEXT_PUBLIC_APP_URLto your application origin for production server-side requests, or useNEXT_PUBLIC_BACKEND_URLas an explicit backend origin. Production also requiresS3_BUCKET_NAME,S3_REGION,S3_ENDPOINT,S3_ACCESS_KEY_ID, andS3_SECRET_ACCESS_KEY. ConfigureSMTP_HOST,SMTP_PORT,SMTP_USER,SMTP_PASSWORD,SMTP_FROM, andSMTP_STORE_LINKfor password-reset mail. The runtime configuration and origin resolver define these settings.Replace URL examples and internal routing overrides with your actual application origin, or remove optional overrides you do not need. Never commit your
.envfile. -
Start development server:
npm run dev
This builds Keystone, applies checked-in database migrations, and starts Next.js.
-
Access the application: Open the URL
npm run devprints, then use these paths:- Storefront:
/ - Host dashboard:
/dashboard - Guest trip entry:
/trips - GraphQL API:
/api/graphql
- Storefront:
-
Create your first admin user: Visit
/dashboard/initon that application URL to create the initial administrator. -
Run host onboarding: Use dashboard onboarding to configure the host organization and initial accommodation data. Review properties, units, listings, rates, and booking policies before publishing stays.
npm run dev- Build Keystone, apply migrations, and start Next.js development.npm run build- Build Keystone and Next.js for production; does not apply migrations.npm start- Start the production Next.js server.npm run migrate:gen- Build Keystone, generate view ordering, and generate/apply development migrations.npm run migrate- Apply checked-in Prisma migrations.npm run release:migrate- Apply the same checked-in migrations as a release step.npm run lint- Run ESLint.
Use a development database for migrate:gen; it generates and applies schema changes.
Payment adapters include manual recording and a Stripe card path. The Stripe adapter requires STRIPE_ENABLED=true, STRIPE_SECRET_KEY, STRIPE_PUBLISHABLE_KEY, and STRIPE_WEBHOOK_SECRET; the mode follows the keys (test keys on demo deployments, live keys in production). Callback handling lives at /api/payment-webhooks/[providerCode].
The registered channel adapters are direct and iCalendar. iCalendar exchange handles availability holds; its capability declaration does not provide rate, reservation, message, or remote-transport synchronization.
See the Openfront Rental documentation for the vertical's application guide, data model, access boundaries, and integration notes. The source models and business commands describe the implementation in this repository.
canAccessDashboard- Host dashboard access.canReadProperties/canManageProperties- Property records.canReadListings/canManageListings- Listing records.canReadCalendar/canManageCalendar- Calendar availability.canReadPricing/canManagePricing- Stay pricing.canReadReservations/canManageReservations- Reservations.canReadPayments/canManagePayments- Payment operations.canReadPayouts/canManagePayouts- Payout and owner-statement records.
- Session-based authentication and active-account checks.
- Host organization membership filters, with explicit platform-administrator privileges.
- Separate read and manage permissions for operational areas.
- Token-bound public trip, quote, agreement, and message access.
- Controlled reservation, payment, and refund commands rather than unrestricted lifecycle edits.
- Signed payment webhooks and bounded GraphQL request handling.
- Properties & listings: Accommodation units, media, amenities, and publication.
- Calendar & pricing: Blocks, rates, seasonal prices, fees, and taxes.
- Reservations & agreements: Stay lifecycle, amendments, assignment, and agreements.
- Guests & inbox: Guest profiles, conversations, and messages.
- Tasks & reviews: Property work and review moderation.
- Payments & owners: Manual records, card payments, refunds, statements, payouts, and reports.
- Stay discovery: Search, listing detail, collections, and comparison.
- Quote & reservation: Dates, guest counts, pricing, and quote checkout.
- Guest trips: Private stay information, agreements, and cancellation requests.
- Guest communication: Token-bound message pages and account access.
The Vercel button imports this repository. Provision PostgreSQL and configure the environment, storage, and any enabled integrations separately.
Build the application, apply migrations as a release step, and start the production server:
npm run build
npm run migrate
npm startBack up an existing database before applying migrations. The included railway.toml builds without migrations and applies them when the application starts.
Keep host membership, reservation allocation, and calendar state in the shared PostgreSQL database. Use shared object storage. iCalendar exchange is not an automatically supervised OTA synchronization service: no timer or worker runs, subscribed calendar links are re-read when the Channels page loads (a few stale ones at a time) and when staff press Refresh calendar links.
Use the development commands above when preparing changes. Keep model changes and their migrations together, and describe any workflow or permission changes in your pull request.
No top-level license file or package license declaration is included in this repository.
- Documentation: Openfront Rental guide.
- Issues: Report bugs and feature requests.
- Product: Learn more about Openfront Rental.
Built with Next.js and KeystoneJS.
