Skip to content
mhshanto-devPublic

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

TripZen — Travel Booking Platform

TripZen is a full-stack travel booking web application that lets users discover destinations, explore detailed trip information, and manage bookings through a clean, fully responsive interface. Built with the Next.js App Router on the frontend and a decoupled Node.js/Express REST API on the backend.

Live Demo: https://tripzen-umber.vercel.app/ Backend Repository: https://github.com/mhshanto-dev/TripZenServer


Features

  • Browse and search travel destinations with detailed trip pages
  • Secure authentication with Better Auth, JWT, and Google OAuth
  • Protected routes for booking and account-related actions
  • Booking management for authenticated users
  • Fully responsive UI built with Tailwind CSS
  • Decoupled architecture — frontend and backend deployed independently for scalability

Tech Stack

Frontend

Auth & Backend Integration

Deployment

Getting Started

Prerequisites

Installation

git clone https://github.com/mhshanto-dev/TripZen.git
cd TripZen
npm install

Environment Variables

Create a .env file in the project root:

NEXT_PUBLIC_SERVER_URL=http://localhost:5000
BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_SECRET=your_auth_secret
GOOGLE_CLIENTID=your_google_client_id
GOOGLE_SECRET=your_google_client_secret
MONGODB_URI=your_mongodb_connection_string

Never commit your .env file. Make sure it is listed in .gitignore.

Run Locally

npm run dev

The app will be available at http://localhost:3000.

Build for Production

npm run build
npm start

Project Structure

tripzen/
├── src/
│   ├── app/          # Next.js App Router pages & layouts
│   ├── components/   # Reusable UI components
│   └── lib/          # Auth config, API helpers, utilities
├── public/           # Static assets
└── next.config.mjs

Deployment

This project is deployed on Vercel. Any push to the main branch triggers an automatic production deployment. Environment variables must be configured separately in the Vercel dashboard under Settings → Environment Variables.

Related Repository

The backend REST API that powers this frontend is maintained separately: 👉 TripZenServer

Author

MD. Mehedi Hasan Shanto Full Stack Developer (MERN Stack)

License

This project is open source and available for learning purposes.

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages