Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

106 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌍 Wanderlust

A modern travel discovery web application built with Next.js 16, React 19, HeroUI & Better Auth

Live Demo Next.js React

πŸ”— Backend Repo: wanderlust-server


🌟 Overview

Wanderlust is a full-stack travel discovery platform where users can explore destinations, plan trips, and share their travel experiences. Built with a modern decoupled architecture β€” Next.js frontend paired with a dedicated Express.js REST API backend.


✨ Features

  • πŸ” User Authentication β€” Secure sign-up & login powered by Better Auth
  • πŸ—ΊοΈ Destination Discovery β€” Browse and explore travel destinations
  • πŸ‘€ User Profiles β€” Personalized user profile management
  • πŸ’« Modern UI β€” Clean and responsive design with HeroUI components
  • πŸ“± Fully Responsive β€” Mobile-friendly layout with Tailwind CSS v4
  • ⚑ Fast Performance β€” Next.js App Router with server-side rendering

πŸ› οΈ Tech Stack

Category Technology
Framework Next.js 16.2.6 (App Router)
UI Library React 19
Component Library HeroUI v3
Styling Tailwind CSS v4
Authentication Better Auth v1.6
Database MongoDB v7
DB Adapter @better-auth/mongo-adapter
Icons React Icons, Gravity UI Icons

πŸ“ Project Structure

wanderlust/
β”œβ”€β”€ public/               # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/              # Next.js App Router pages & layouts
β”‚   β”‚   β”œβ”€β”€ api/          # Auth API routes
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ components/       # Reusable UI components
β”‚   └── lib/              # Auth config & utilities
β”œβ”€β”€ next.config.mjs
β”œβ”€β”€ package.json
└── tailwind.config.js

πŸš€ Getting Started

Prerequisites

  • Node.js v18+
  • MongoDB Atlas account
  • npm / yarn / pnpm
  • Backend server running β†’ wanderlust-server

Installation

  1. Clone the repository
git clone https://github.com/Morshedul-developer/wanderlust.git
cd wanderlust
  1. Install dependencies
npm install
  1. Set up environment variables

Create a .env.local file in the root:

MONGODB_URI=your_mongodb_connection_string
BETTER_AUTH_SECRET=your_secret_key
BETTER_AUTH_URL=http://localhost:3000
NEXT_PUBLIC_API_URL=http://localhost:5000
  1. Run the development server
npm run dev

Open http://localhost:3000 in your browser.


πŸ“œ Available Scripts

Script Description
npm run dev Start development server
npm run build Build for production
npm run start Start production server
npm run lint Run ESLint

🌐 Deployment

Deployed on Vercel. To deploy your own instance:

  1. Push your code to GitHub
  2. Import at vercel.com/new
  3. Add environment variables in the Vercel dashboard
  4. Deploy!

πŸ‘¨β€πŸ’» Author

Morshedul Islam Nijhum

GitHub

About

🌍 A modern travel discovery web app built with Next.js 16, React 19, HeroUI & Better Auth. Features destination browsing, user authentication, and a fully responsive UI.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages