Skip to content

About

Full-stack travel booking app with Next.js App Router, Express API, MongoDB, and cross-service JWT authentication—optimized for performance, security, and UX.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🌍 VoyageNova - Premium Travel Booking Platform

📖 Project Overview

Welcome to VoyageNova—an industry-standard, fully responsive, and highly interactive travel booking platform. Built with a modern Next.js 16+ App Router frontend, a robust Express.js REST API backend, and backed by MongoDB, this platform implements premium design aesthetics, responsive dashboards, and a highly secure cross-service JWT authentication architecture.

🔗 Live Project & Resources

📸 Screenshots

Home Page preview

🛠️ Technologies Used

Frontend (Next.js)

  • Core Framework: Next.js 16.2.6 (App Router, SSR, Server Actions)
  • UI Library: React 19.2.4
  • Design System: HeroUI v3.0.4, Tailwind CSS v4
  • Authentication Engine: Better Auth v1.6.10
  • Iconography: Lucide React & Gravity UI Icons

Backend (Express.js)

  • Application Framework: Express.js v5.2.1
  • Database: MongoDB Node.js Driver v7.2.0
  • Security: jose-cjs v6.2.3 (JWT validation)

✨ Core Features

  1. Robust Authentication System: Advanced session controller using Better Auth and MongoDB with fine-grained access control.
  2. Dynamic Landing & Exploration: Premium glassmorphism design, real-time pricing, and detailed destination data fetched from MongoDB.
  3. Real-time Travel Booking: Server-side validation prevents duplicate bookings. Dedicated /my-booking dashboard for users.
  4. Admin Management Portal: Authorized admins can add, update, and delete travel packages via an interactive UI.
  5. Cross-Service JWT Authentication: Secure, stateless JWT verification across decoupled frontend and backend using remote JWKS.

📦 Dependencies

Frontend:

  • @better-auth/mongo-adapter, better-auth
  • @heroui/react, @heroui/styles
  • lucide-react, @gravity-ui/icons
  • mongodb
  • next, react, react-dom
  • tailwindcss, @tailwindcss/postcss

Backend:

  • express
  • cors
  • dotenv
  • jose-cjs
  • mongodb
  • nodemon

🚀 How to Run Locally

Follow these step-by-step instructions to run the project locally on your machine:

1. Setup the Backend

  1. Open a terminal and navigate to the backend directory:
    cd backend
  2. Install dependencies:
    npm install
  3. Set up environment variables (create a .env file):
    # Add your specific variables, e.g.
    PORT=5000
    MONGODB_URI=your_mongodb_connection_string
  4. Start the backend server:
    npm run server

2. Setup the Frontend

  1. Open a new terminal and navigate to the frontend directory:
    cd frontend
  2. Install dependencies:
    npm install
  3. Set up environment variables (create a .env or .env.local file):
    NEXT_PUBLIC_SERVER_URL=http://localhost:5000
    # Add any required Better Auth environment variables
  4. Start the frontend development server:
    npm run dev

3. View the App

Open your browser and visit http://localhost:3000 to see the application running.

About

Full-stack travel booking app with Next.js App Router, Express API, MongoDB, and cross-service JWT authentication—optimized for performance, security, and UX.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages