Hotel Website with Direct Booking Engine

Description
COMPLETE HOTEL WEBSITE WITH A DIRECT BOOKING ENGINE
A production-ready website for a hotel, guest house or small resort. Your guests book and pay directly on your own site, and no commission is ever taken on a booking.
Live demo: https://demo-site-hotelier.vercel.app Admin panel: https://demo-site-hotelier.vercel.app/admin Demo login: demo@exemple.com / DemoHotel2026
THE PUBLIC WEBSITE
Home, rooms, restaurant, pool, services, gallery, guest reviews, about, contact and legal pages. Fully responsive: most bookings happen on a phone, and every screen is built for it.
THE BOOKING ENGINE
Search by dates and number of guests with real-time availability, seasonal rates, promotions, paid extras, city tax and a configurable deposit. Availability is re-checked immediately before the booking is written, so two guests can never book the same last room. Prices are recalculated on the server: an amount edited in the browser is ignored.
ONLINE PAYMENT
Algerian bank cards (CIB and Edahabia) through the official SATIM gateway, bank transfer with receipt upload approved by reception, and payment on arrival. Any method that is not configured is simply never shown to the guest, so no button ever leads to a dead end. The gateway code is isolated in one folder, so SATIM can be replaced with Stripe, PayPal or any other provider without touching the booking flow.
THE ADMIN PANEL, 13 SCREENS
Dashboard with occupancy, arrivals, departures, revenue and pending confirmations; occupancy calendar, bookings, payments, guest records and messages; rooms and physical inventory, seasonal rates, promotions and blocked periods; reviews, gallery, site content in all three languages, account and audit log. Every sensitive action is logged: who did what, and when.
THREE LANGUAGES, ARABIC INCLUDED
French, Arabic and English. The Arabic version is fully mirrored right-to-left, with a dedicated font, and is not a translation dropped onto a Western template. Even the page URLs are translated, which matters for local SEO.
MAKE IT YOURS IN 30 MINUTES
One configuration file. Change the hotel name on a single line and it propagates through the entire site, in all three languages, including page titles, Google descriptions, structured data, WhatsApp messages, confirmation emails and the admin panel. You never edit a translation file. Then fill in your contact details, opening hours and services in the same file, and point the photo catalogue at your own images. Full step-by-step documentation is included, in English and in French.
CURRENCY
Prices are displayed in euros by default. Changing currency is a single line in the configuration file, and every price on the site, in the admin panel and in the emails follows.
SECURITY
Passwords hashed with bcrypt, signed sessions and httpOnly cookies, server-side price recalculation, rate limiting and a honeypot on every public form, payment receipts served only to signed-in staff, and an admin panel excluded from search indexing and caching. No card data is ever stored on the server.
TECHNICAL
Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS 4, Prisma, PostgreSQL and nodemailer. It deploys for free on Vercel with a managed database, or on any classic Node.js server. No paid dependency, no mandatory subscription, and no third-party service beyond hosting and the database.
WHAT YOU GET
Complete, commented source code; installation, configuration and deployment documentation in English and in French; and a demonstration dataset so the site works from the first minute.
GOOD TO KNOW BEFORE BUYING
- Card payment through SATIM requires an e-payment contract with an Algerian bank. Without it, the site works perfectly using bank transfer, which needs no contract at all.
- The bundled photos are royalty-free placeholders (Unsplash) and are meant to be replaced with your own.
- The admin panel interface is in French. The public website is fully trilingual (French, Arabic, English).
- Prices are shown in euros out of the box. One line in the configuration file switches the whole site to any other currency.
Features
- Direct booking engine: search by dates and guests, real-time availability, seasonal rates, promotions, paid extras, city tax and a configurable deposit
- Anti-overbooking: availability is re-checked at the instant the booking is written, so the same last room can never be sold twice
- Server-side price recalculation, so an amount edited in the browser is ignored
- Online card payment for Algerian CIB and Edahabia cards through the official SATIM gateway
- Bank transfer with receipt upload by the guest and approval by reception: works in any country and needs no contract
- Payment on arrival, and any method that is not configured is never shown to the guest
- Payment gateway isolated in a single folder, so SATIM can be swapped for Stripe or PayPal without touching the booking flow
- Restaurant table reservation with time slots and room capacity limits
- Admin panel with 13 screens: dashboard, occupancy calendar, bookings, payments, guests, messages, rooms and inventory, rates, promotions, reviews, gallery, content and audit log
- Three languages, French, Arabic and English, with a fully mirrored right-to-left Arabic version and translated page URLs
- Whole site rebranded from one configuration file, in all three languages, in about 30 minutes
- Currency switchable in a single line, euros out of the box
- SEO ready: Schema.org hotel structured data, multilingual sitemap with hreflang, readable URLs and AVIF/WebP images
- Security: bcrypt passwords, signed httpOnly sessions, rate limiting, honeypots, full audit log and an admin panel excluded from indexing
Requirements
- Node.js 20 or later
- A PostgreSQL database: a free Neon or Supabase tier works, and so does PostgreSQL on your own server
- Any Node.js host: it deploys for free on Vercel with a managed database, or on a classic server
- An SMTP account for confirmation emails, recommended but optional
- For card payment only: an e-payment contract with an Algerian bank for SATIM. It is not required, since bank transfer and payment on arrival work without it.
Instructions
- Unzip the archive and run npm install
- Copy .env.example to .env, then fill in DATABASE_URL, DIRECT_URL, ADMIN_PASSWORD and AUTH_SECRET
- Run npm run setup to create the tables and the starter data
- Run npm run dev and open http://localhost:3000. The admin panel is at /admin
- Open src/config/hotel.ts and set the hotel name, contact details, opening hours, services and currency
- Replace the photos listed in src/config/photos.ts with your own, then set your rooms, physical inventory and rates from the admin panel
- Deploy with npm run build, or push to Vercel. The full procedure is in DEPLOYMENT.md, in English and in French.
| Author | lounismoualek |
|---|---|
| Category | Scripts & Code / NodeJS |
| Price | $84 |
| Extended License | $252 |
| Likes | 1 |
| First Release | Aug 26, 2026 |
| Last Update | Aug 26, 2026 |
| Files included | .css, .html, .sql, JavaScript .js |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.