This is a full-stack web application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It allows users to browse and book hotel rooms.
- User authentication (signup, login, logout)
- Browse hotels with detailed information and images
- Book rooms and view booking history
- Responsive design for mobile and desktop
- Add hotels as an admin
- Change/edit data of any place
clone the repo
git clone https://github.com/amandeepsirohi/TravelHaven.git
cd api
npm install
cd client
npm install
MONGO_URI=your_mongo_db_connection_string
SECRET_KEY=your_secret_key_for_jwt
cd api
nodemon index.js
cd clinet
npm start
- Open your web browser and go to http://localhost:3000
- Sign up or log in to start browsing hotels and making bookings.
- Express.js
- Mongoose
- jsonwebtoken
- bcryptjs
- dotenv
- React
- React Router
- Axios
- Tailwind
Feel free to open issues or pull requests for any improvements or features you'd like to add. Your contributions are always welcome!