GithubHelp home page GithubHelp logo

virtual_realtor_cli-mod_1_project's Introduction

HomeSuite: Your Virtual Realtor

Table of Contents

About HomeSuite

HomeSuite is a CLI application that assists users in their home purchasing journey. The user starts out by providing their name and is soon prompted to give their preferences regarding their home purchase. Do they want a 2 bed 1 bath in Denver? Or do they prefer a 4 bed 3 bath in Boulder? View and view again until they decide on the house that is best.

HomeSuite Walkthrough Video

HomeSuite Virtual Realtor Walkthrough

Technologies

Ruby - version 2.6.1

ActiveRecord - version 6.0.3.2

SQLite3 - version 3.16

Setup

To run this project, install it locally by cloning the GitHub repository and type:

  ruby runner.rb

Code Examples

    def welcome_user
        box = TTY::Box.frame "        HOMESUITE        ", "Welcome to Virtual Realtor!", padding: 1, align: :center, border: :thick
        puts box
        prompt = TTY::Prompt.new
        user_name = prompt.ask("May I get your name?")
        answer = Client.pluck(:name).include? user_name
        if answer == false 
            @user = Client.create(name: user_name)
        else
            @user = Client.find_by(name: user_name)
        end
    end
    def houses_viewed
        puts "You have viewed: "
        @houses_viewed = @user.houses.map do |house|
            puts house.address
            house.address
        # end.map do |house|
        #     house.address
        end
    end

HomeSuite Features

  • Select home preferences (bedrooms, bathrooms, etc.)
  • Display the homes which match the user's preferences
  • Allows the user to choose a house(s) to view
  • Allows the user to buy a house based, overall deleting the bought house from the database

To-Do List:

  • Add API functionality to pull in houses currently on the market
  • Add details to homes viewed to allow for better knowledge of the home's features and history

Status

Completed.

This app is built to carry out the CRUD framework

Why HomeSuite?

We created this app based on our own affinity for looking through home apps such as Realtor and Trulia. We wanted this app to be personalized and flexible unlike the apps out on the market so set on to build HomeSuite with that exact intention!

Contact

Created by Hailey Ringier and Nyaradzo Bere

License

View Here

virtual_realtor_cli-mod_1_project's People

Contributors

nyaradzoubere avatar haileyringier avatar kathleenscriver avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

nyaradzoubere

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.