Tourease is a web application designed for users to explore and book various travel destinations and hotels. Users can view detailed information about destinations and hotels, manage their bookings, and enjoy a seamless user experience with a robust authentication system. The admin interface allows for easy management of destinations and hotels.
- User Authentication: Secure login and registration for users.
- Home Page: A welcoming home page showcasing featured destinations and hotels.
- Destination Page: Users can browse through various travel destinations.
- Hotel Page: A dedicated page for viewing hotels, with details and booking options.
- Detailed Views: Users can view detailed information on each destination and hotel.
- Booking Management: Users can book hotels and view their bookings.
- Admin Panel: Admins can add, edit, or remove destinations and hotels.
- Frontend: EJS, CSS, JavaScript
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: OAuth for secure user authentication
To run this project locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/theabishek/Tour-Ease.git cd Tour-Ease
-
Install Dependencies:
npm install
-
Setup MongoDB: Ensure you have MongoDB installed and running on your local machine. Create a database named
tourease_db
. -
Start the Application:
node app.js
or if you have nodemon installed:
nodemon app.js
-
Access the Application: Open your browser and navigate to
http://localhost:3000
. -
Hotels and Destination: You have to add hotels and destination by yourself because no API is used. You can sign up as admin and from admin panel you can add destination & hotels.
Below are some screenshots of the application:
If you encounter issues while running the application, consider the following:
- Ensure MongoDB is running.
- Check that all necessary packages are installed correctly.
- Review the console for any error messages for more insights.
- Express.js - Fast, unopinionated, minimalist web framework for Node.js.
- EJS - Embedded JavaScript templating.
- MongoDB - A document database designed for ease of development and scaling.
Feel free to contribute by submitting issues or pull requests!