Welcome to the Real Estate Website project! This web application allows users to browse, reserve, and add houses to their favorites. Admin users have the additional capability to manage properties and user roles. The project is built using TypeScript, Next.js, Tailwind CSS, MongoDB, Prisma, and integrates OAuth authentication with Google and GitHub.
- User Registration and Authentication with OAuth (Google and GitHub)
- User Roles: Admins can manage other user roles
- Property Management: Admins can add, remove, and update house listings
- Cloudinary Integration: Store and manage property images
- Property Reservations: Users can make reservations for properties
- Favorites: Users can add properties to their favorites
- Google Maps Integration: Browse properties using Google Maps
- Clone the repository:
git clone https://github.com/Sabir222/real-estate.git
- Install dependencies:
- cd real-estate
npm install
- Set up environment variables:
Create a .env file and add your environment variables for MongoDB, Cloudinary, and nextAuth credentials(google,github),google maps.
- Start the development server:
npm run dev
Register and log in with your Google or GitHub account.
or Use admin account: Email: admin@admin.com Password:admin
- Browse properties on the website.
- Add properties to your favorites.
- Make reservations for properties.
- Admins can manage properties and user roles in the admin panel.
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and test them thoroughly.
- Commit your changes and create a pull request.
For any questions or inquiries, please contact me at sabirkoutabi@gmail.com..