Skip to content
OmCodeWizardPublic

About

A full-stack travel platform for discovering, reviewing, and managing travel destinations, built with React, Node.js, Express, and MongoDB.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🌍 TravelHub

A full-stack travel platform for discovering and managing travel destinations.

TravelHub is a MERN-stack project currently under active development. The backend provides an Express API foundation with MongoDB connectivity and a health-check endpoint. The project is being expanded into a complete travel discovery platform.

✨ Current Features

  • ⚡ Express.js backend
  • 🍃 MongoDB integration with Mongoose
  • 🔐 Environment-based configuration using dotenv
  • 🌐 CORS enabled for frontend integration
  • ❤️ API health-check endpoint
  • 🔄 Development workflow with Nodemon

🚧 In Development

The following features are planned as the project evolves:

  • Destination discovery and management
  • Search and filtering
  • User authentication
  • Reviews and ratings
  • Accommodation and activity information
  • Responsive React frontend
  • RESTful CRUD APIs

These items are planned features and are not represented as completed functionality in the current codebase.

🛠️ Tech Stack

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose

Tools

  • Nodemon
  • dotenv
  • CORS

Planned Frontend

  • React.js

🏗️ Current Project Structure

travelHub/
├── README.md
└── server/
    ├── config/
    │   └── db.js
    ├── app.js
    ├── server.js
    ├── package.json
    └── .gitignore

⚙️ Getting Started

Prerequisites

Make sure you have installed:

  • Node.js
  • npm
  • MongoDB or a MongoDB Atlas connection

1. Clone the repository

git clone https://github.com/OmCodeWizard/travelHub.git
cd travelHub/server

2. Install dependencies

npm install

3. Configure environment variables

Create a .env file inside the server directory:

MONGO_URI=your_mongodb_connection_string
PORT=5000

⚠️ Never commit your real .env file or database credentials.

4. Start the development server

npm run dev

For production:

npm start

🔌 API

Health Check

Endpoint

GET /api/health

Example response

{
  "success": true,
  "message": "TravelHub API is running"
}

🗺️ Roadmap

  • Express application setup
  • MongoDB connection setup
  • Health-check API
  • Destination data models
  • RESTful destination APIs
  • Authentication and authorization
  • Reviews and ratings
  • React frontend
  • Search and filtering
  • Deployment

📸 Screenshots

Screenshots will be added once the frontend UI is implemented. A future structure can be:

assets/
├── home.png
├── destinations.png
└── destination-details.png

👨‍💻 Author

Om Lahane

GitHub: @OmCodeWizard


⭐ If you find this project interesting, consider starring the repository!

About

A full-stack travel platform for discovering, reviewing, and managing travel destinations, built with React, Node.js, Express, and MongoDB.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages