RentHub is a comprehensive travel listings platform that allows users to create, read, update, and delete travel listings. The application also includes features like user authentication and authorization, search functionality, reviews, map visualization, and a responsive design using Bootstrap.
- ✅ User authentication and authorization
- ✅ Create, read, update, and delete travel listings
- ✅ Search for travel listings
- ✅ Submit and manage reviews for listings
- ✅ Map to show location
- ✅ Responsive design using Bootstrap
- ⚙️ HTML, CSS, Bootstrap
- ⚙️ JavaScript (EJS)
- ⚙️ Node.js, Express
- ⚙️ MongoDB
- ⚙️ Passport.js for authentication
- ⚙️ Mapbox for map visualization
- ⚙️ Joi for validation
- Check out the live demo of RentHub: https://renthub-parth.onrender.com
-
Clone the repository:
git clone https://github.com/yourusername/renthub.git
-
Navigate to the project directory:
cd renthub
-
Install the dependencies:
npm install
-
Create a .env file in the root directory and add your environment variables:
PORT = 8000 ATLASDB_URL="your mongodb url" CLOUD_NAME = "your cloud name" CLOUD_API_KEY = "your cloud api" CLOUD_API_SECRET = "your cloud api secret" SESSION_SECRET = "your session secret code" MAP_TOKEN = "your map token"
-
Start the development server:
npm start
- Visit the home page and sign up for a new account or log in with existing credentials.
- Browse travel listings or use the search functionality to find specific listings.
- Create new travel listings, edit or delete existing ones.
- Submit reviews for listings and view reviews submitted by other users.
- Use the map to visualize the location of listings.
- Node.js
- Express
- MongoDB
- Passport.js
- Mapbox
- Bootstrap
- Joi