In this video we will create a bus ticket booking app in NextJS. We will use PostgreSQL as the database. This project is inspired by Redbus but it is in no way a clone of it.
Github Repo: https://github.com/dhritich20baruah/TicketBooking-NextJS
Timestamps:
00:00 Intro
02:00 Setup database and create tables
08:44 Create Next App and install packages
10:22 Setup Environment Variables and Connect with DB
12:48 Create Home Page and Bus Search Page
23:30 Create Bus List Page
32:53 Bus Search Queries
54:19 Seat Layout and seat selection
01:12:21 Passenger Details Form
01:29:40 Setup Stripe and Payment Form
01:46:11 Stripe Checkout
01:53:32 Payment API Route
01:58:22 Download Ticket and html2pdf.js
02:05:12 Node Cron: Check Payment Status