Skip to content

Sabir222/real-estate

Repository files navigation

Real Estate Website.

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.

Features

  • 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

Technologies Used

  • Next
  • React
  • TypeScript
  • Tailwind CSS
  • MongoDB
  • Prisma
  • Cloudinary
  • OAuth (Google and GitHub)

Installation

  1. Clone the repository:

git clone https://github.com/Sabir222/real-estate.git

  1. Install dependencies:
  • cd real-estate
npm install
  1. Set up environment variables:

Create a .env file and add your environment variables for MongoDB, Cloudinary, and nextAuth credentials(google,github),google maps.

  1. Start the development server:

npm run dev

Usage

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.

Contributing

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.

Contact.

For any questions or inquiries, please contact me at sabirkoutabi@gmail.com..

Releases

No releases published

Packages

No packages published

Languages