FlightEasy - Flight Booking Web App with Admin

Description
FlightEasy is a modern full-stack flight booking web application built with Next.js, PostgreSQL, and Prisma ORM. It allows users to search flights, book tickets, make payments via Stripe, and download PDF tickets with QR codes. The application also includes a powerful admin panel to manage users, bookings, support messages, and travel deals.
The project is built with a responsive UI using Tailwind CSS, integrates Stripe for payments, Tawk.to for live chat, and provides mock flight data which can be replaced with real APIs (Amadeus, Skyscanner, Travelpayouts).
Perfect for startups, travel agencies, or anyone looking to launch a flight booking system quickly.
Features
- User authentication (signup, login, profile management)
- Flight search with filters (price, airline, duration)
- Booking workflow with passenger details & passport info
- Stripe payment integration (test mode)
- PDF ticket with unique QR code
- User dashboard with booking history & analytics
- Deals & destinations page
- Live chat (preset + Tawk.to support)
- Admin panel: manage users, bookings, messages & deals
- Responsive design (mobile-first with Tailwind)
- Charts & analytics with Recharts
- Ready-to-deploy on Vercel, Netlify, or any Node.js host
Requirements
- Node.js 18+
- PostgreSQL (local or cloud, e.g., Supabase, Neon)
- Stripe account (test or live keys)
- Modern browser (Chrome, Edge, Safari, Firefox)
Instructions
Default Credentials Admin Login: Email: admin@gmail.com Password: 123456
Default User Login: Email: user@gmail.com Password: 123456
Promote User to Admin: Any user can be promoted to admin by changing the isAdmin status to true in the users table of the database.
Installation Guide 1. Clone & Extract Download the project ZIP and extract. Or clone from Git (if repo available):
cd flighteasy 2. Install Dependencies Navigate into the FlightEasy folder and install packages:
npm install 3. Setup Database Make sure PostgreSQL is running locally or on a cloud provider. Create a new database:
CREATE DATABASE flighteasy; 4. Configure Environment Variables Inside FlightEasy/, create a .env file:
DATABASE_URL="postgresql://username:password@localhost:5432/flighteasy?schema=public" NEXTAUTH_SECRET="your_random_secret" NEXT_PUBLIC_BASE_URL="http://localhost:3000" STRIPE_SECRET_KEY="your_stripe_secret_key" NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="your_stripe_public_key" # Optional: Tawk.to live chat widget # Replace with your Tawk.to Property ID / Widget ID NEXT_PUBLIC_TAWKTO_PROPERTY_ID="your_tawkto_property_id" ⚠️ Replace values with your real credentials.
5. Run Database Migrations npx prisma generate npx prisma migrate dev --name init 6. Run Development Server npm run dev Visit http://localhost:3000
7. Production Build For deployment (Vercel, Netlify, custom server):
npm run build npm run start
User Side 1. Register/Login 2. Search Flights → Apply filters 3. Select Flight → Fill booking form with passenger details, passport, email, etc. 4. Proceed to Payment → Stripe (test/live) Stripe Test Card: Card number: 4242 4242 4242 4242 Expiry: any future date (e.g., 12/34) CVC: any 3 digits (e.g., 123) 5. Download Ticket (PDF with unique QR code linked to your booking) 6. Manage Profile & Dashboard → View bookings, history, past trips 7. Support Messaging → Users can send messages to the admin; admin replies appear directly in the user dashboard.
"A detailed project description is provided in the project directory, available in readme.pdf, readme.html, and readme.md files."
| Author | JewelSal |
|---|---|
| Category | Scripts & Code / NodeJS |
| Price | $54 |
| Extended License | $162 |
| Likes | 6 |
| First Release | Sep 2, 2025 |
| Last Update | Sep 2, 2025 |
| Files included | .css, .html, .sql, Layered .png, .dat, 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.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks