{"id":34666718,"url":"https://github.com/khalifaalhasan/next-booking-platform","last_synced_at":"2026-01-29T08:03:07.248Z","repository":{"id":325650061,"uuid":"1101920900","full_name":"khalifaalhasan/next-booking-platform","owner":"khalifaalhasan","description":"Fullstack's booking platform uses Next.js 15 (App Router), TypeScript, Supabase, and Shadcn UI. Features include user management, manual payment verification, and PDF ticket export.","archived":false,"fork":false,"pushed_at":"2026-01-15T04:56:17.000Z","size":7086,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T11:42:43.429Z","etag":null,"topics":["admin-dashboard","booking-system","cms","fullstack","nextjs","payment-system","postgresql","react","react-pdf","reservation-system","shadcn-ui","supabase","typescript","vercel"],"latest_commit_sha":null,"homepage":"http://ppbisnis.radenfatah.ac.id","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khalifaalhasan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-22T13:42:15.000Z","updated_at":"2026-01-15T04:51:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/khalifaalhasan/next-booking-platform","commit_stats":null,"previous_names":["nakamashp/upt-pusat-pengembangan-bisnis","khalifaalhasan/upt-pusat-pengembangan-bisnis","khalifaalhasan/next-booking-platform"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/khalifaalhasan/next-booking-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalifaalhasan%2Fnext-booking-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalifaalhasan%2Fnext-booking-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalifaalhasan%2Fnext-booking-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalifaalhasan%2Fnext-booking-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khalifaalhasan","download_url":"https://codeload.github.com/khalifaalhasan/next-booking-platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalifaalhasan%2Fnext-booking-platform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin-dashboard","booking-system","cms","fullstack","nextjs","payment-system","postgresql","react","react-pdf","reservation-system","shadcn-ui","supabase","typescript","vercel"],"created_at":"2025-12-24T19:01:16.097Z","updated_at":"2026-01-16T15:22:39.339Z","avatar_url":"https://github.com/khalifaalhasan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏢 Business Development Center\n\n### Modern Booking Platform\n\nA modern business asset reservation system inspired by the seamless booking flow of **Traveloka**.  \nSupports **Down Payment / Full Payment**, real-time admin verification, and **QR-Based E‑Ticketing**.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n### 🚀 Tech Stack\n\n![Next.js](https://img.shields.io/badge/Next.js-15-black?logo=nextdotjs)\n![TypeScript](https://img.shields.io/badge/TypeScript-5-blue?logo=typescript)\n![Supabase](https://img.shields.io/badge/Supabase-PostgreSQL-green?logo=supabase)\n![TailwindCSS](https://img.shields.io/badge/TailwindCSS-4-06B6D4?logo=tailwindcss)\n![Shadcn](https://img.shields.io/badge/UI-Shadcn/ui-orange)\n![License](https://img.shields.io/badge/License-MIT-yellow)\n\n\u003c/div\u003e\n\n---\n\n## 🌟 Key Features\n\n### 👤 User Features\n\n- **Traveloka‑Style Booking Flow**  \n  Choose Date → Fill Details → Make Payment\n\n- **Smart Calendar**  \n  - Blocks *Pending* \u0026 *Confirmed* dates  \n  - Supports Daily \u0026 Hourly rentals\n\n- **Flexible Payment**  \n  - Full Payment / 50% Down Payment  \n  - Prevents double payments\n\n- **User Dashboard**  \n  - Real‑time status updates  \n  - Upload payment proof  \n  - Booking history\n\n- **Wishlist** to save preferred services  \n- **Form Persistence** using localStorage  \n- **E‑Ticket (PDF) + QR Code** activated upon payment completion\n\n---\n\n### 🛡️ Admin Features\n\n- Management Dashboard  \n- Verify Payments (Approve / Reject)  \n- CRUD Services + Multiple Image Upload  \n- Dynamic Spec (JSONB)  \n- Auto‑Generated Slug URL  \n- Built‑in QR Scanner (Camera Support)\n\n---\n\n## 🛠️ Technologies Used\n\n| Category          | Technology                   |\n| ----------------- | ----------------------------- |\n| Framework         | Next.js 15 (App Router)      |\n| Language          | TypeScript                   |\n| Database \u0026 Auth   | Supabase (PostgreSQL)        |\n| UI                | TailwindCSS + Shadcn/ui      |\n| Forms             | React Hook Form + Zod        |\n| Date Utilities    | Date-fns + React-day-picker  |\n| PDF Renderer      | @react-pdf/renderer          |\n| QR Scanner        | @yudiel/react-qr-scanner     |\n| Notifications     | Sonner Toast                 |\n\n---\n\n## 🚀 Getting Started\n\n### 1️⃣ Clone Repository\n\n```bash\ngit clone https://github.com/username/project.git\ncd project\n```\n\n### 2️⃣ Install Dependencies\n\n```bash\nnpm install\n```\n\n### 3️⃣ Configure Environment Variables\n\nCreate a **.env.local** file:\n\n```\nNEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co\nNEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here\n```\n\n### 4️⃣ Configure Supabase Database\n\nEnsure the following tables exist:\n\n- profiles  \n- categories  \n- services  \n- bookings  \n- payments  \n- saved_services  \n\n**Include required triggers \u0026 payment status functions.**\n\n### 5️⃣ Run Development Server\n\n```bash\nnpm run dev\n```\n\nOpen in browser:  \n👉 http://localhost:3000\n\n---\n\n## 📂 Project Directory Structure\n\n```\napp/\n ├── (main)/\n │    ├── services/\n │    ├── book/\n │    ├── dashboard/\n ├── (admin)/\n │    ├── bookings/\n │    ├── services/\n │    ├── scan/\n ├── (checkout)/\n │    ├── payment/\n ├── layout.tsx\n```\n\n---\n\n## 📸 Screenshots\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"public/images/image.png\" width=\"300\" /\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"public/images/image1.png\" width=\"300\" /\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"public/images/image2.png\" width=\"300\" /\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"public/images/image3.png\" width=\"300\" /\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n---\n\n## 🤝 Contributing\n\n### 1️⃣ Fork the Repository  \n### 2️⃣ Create a New Branch\n\n```bash\ngit checkout -b new-feature\n```\n\n### 3️⃣ Commit Your Changes\n\n```bash\ngit commit -m \"Add new feature\"\n```\n\n### 4️⃣ Push the Branch\n\n```bash\ngit push origin new-feature\n```\n\n### 5️⃣ Open a Pull Request\n\n---\n\n## 📄 License\n\nThis project is released under the **MIT License**.  \nSee the `LICENSE` file for more details.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n⭐ **If you like this project, consider giving it a Star!** ⭐\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhalifaalhasan%2Fnext-booking-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhalifaalhasan%2Fnext-booking-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhalifaalhasan%2Fnext-booking-platform/lists"}