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.
- ⚡ 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
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.
Backend
- Node.js
- Express.js
- MongoDB
- Mongoose
Tools
- Nodemon
- dotenv
- CORS
Planned Frontend
- React.js
travelHub/
├── README.md
└── server/
├── config/
│ └── db.js
├── app.js
├── server.js
├── package.json
└── .gitignore
Make sure you have installed:
- Node.js
- npm
- MongoDB or a MongoDB Atlas connection
git clone https://github.com/OmCodeWizard/travelHub.git
cd travelHub/servernpm installCreate a .env file inside the server directory:
MONGO_URI=your_mongodb_connection_string
PORT=5000.env file or database credentials.
npm run devFor production:
npm startEndpoint
GET /api/healthExample response
{
"success": true,
"message": "TravelHub API is running"
}- 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 will be added once the frontend UI is implemented. A future structure can be:
assets/
├── home.png
├── destinations.png
└── destination-details.png
Om Lahane
GitHub: @OmCodeWizard
⭐ If you find this project interesting, consider starring the repository!