Skip to content

mAbadsa/house-hunting

Repository files navigation

House Hunting App 🏠

house-hunting App that facilitates to access and rent available homes

Live demo 📺

Onrender link , Click here to visit our app

use these credientials:
email: guest@guest.com password: 123456789

Main problem 🌚

Most of those who intend to get married or who are looking for a house find it very difficult to search and wander around to several areas to find a house that suits them at a price according to their capabilities.

Solution 💡

Build a house-hunting application that facilitates users to rent houses, most of who looking for a house faced some difficulties, help to choose a suitable house.

User Stories 📖

As a renter and rented user:

  • I can Sign up into the app
  • I can log in into the app
  • I can see all available houses to rent
  • I can see specific information about any house
  • I want to search by different locations, prices and the number of room in the house
  • I can add houses to my favourite list
  • I need to create my own profile
  • I need control panel to manage my houses

User Journey ✈️

As a user, I can see all available houses that able to rent, search to find houses and I can add any liked house to my favorite list and see the differences between two houses from my favorite list, inside my profile I have my information and control panel for my own houses available to rent.

Prototype 🎨

Figma Link prototype

DATABASE Schema 🗄️

dbdigram dbimage

Installation Guide :

  1. Clone this repo.
  2. Navigate to the cloned repo.

Database Setup

  1. If you have pgcli skip this step.

  2. Open your terminal, run pgcli, navigate through the project to this path: ./server/database/config/build.sql

  3. Copy this file path and write in the terminal:

    \i <paste your copied path to the file>
  1. build the dummy data by using this command:
    npm run build:db

Project setup

  1. Create a .env file in the project root folder.
  2. Add the following in it This step is so important!!
SECRET_KEY=AB#%&HD

DATABASE_URL=postgres://team2:0000@localhost:5432/househunting

DEV_DB_URL=postgres://team2:123456@localhost:5432/househunting_dev

TEST_DB_URL=postgres://team2:123456@localhost:5432/househunting_test

  1. To install the dependencies, run this command only for the first time:
    npm i

Running the project:

  1. To run the server, Open your terminal and run:
    npm run dev
  1. To run the React Development server, Open another terminal and run:
    npm run client
  1. To run the tests:
    npm test

Technologies 💻

Front-end Technology:

  • ReactJS (Hooks).
  • Material UI
  • UnDraw

Back-end Technology:

  • Node JS
  • Express.

Database Technology:

  • PostgreSQL.

Stretch Goals 🥅

  • The users can complete the contract and rent the apartment
  • user can see the location of the house on the map and compare between two houses
  • user can see related houses according to a specific area on the map
  • create an admin dashboard
    • admin can view, edit, delete all users
    • admin can view, edit, delete all houses
  • create chat that allows users to contact and negotiate

team

Lead Mentor 😎

  • Mariam Isa

Team Members 👥

  • Yasmeen Attallah
  • Adham Haisami
  • Muhammed Abadsa

Resources 🔍

house-hunting