Coder Social home page Coder Social logo

zkan / propalyzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from toms3t/propalyzer

0.0 3.0 0.0 419 KB

Web app that helps investors evaluate investment property opportunities

License: MIT License

Python 83.08% CSS 0.52% JavaScript 7.93% HTML 8.47%

propalyzer's Introduction

Propalyzer

Web app that helps investors evaluate investment property opportunities. The user inputs a US residential property address and the app uses Zillow's API to pull property details. The app presents the property details to the user for inspection and the ability to edit. With the details finalized, the app will crunch the data and return various financial metrics about the property including:

  • Operating Income
  • Operating Expenses
  • Cash on Cash Return
  • Debt Coverage Ratio
  • Monthly Cash Flow

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites (MacOS and Linux Users)

  • Install Python 3.6.2
https://www.python.org/downloads/
  • Obtain a Zillow account and Zillow API Key (ZWS-ID)
https://www.zillow.com/webservice/Registration.htm
  • Create and configure virtualenv
$ mkdir [directory name]
$ pip install virtualenv
$ cd [directory name]
$ virtualenv -p /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 env
  • Git dialed in!
$ git init
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
$ git clone https://github.com/toms3t/Propalyzer.git
  • Install packages from requirements.txt file
$ source env/bin/activate (run this from the directory you created to activate the virtual environment)
$ pip install -r Propalyzer/requirements.txt
  • Enter secret key in your /Users/[your username]/[directory name]/propalyzer_site/propalyzer_site/settings.py file
secret_key = '[enter new key here without the brackets - you can make the key whatever you want]'
[save settings.py file]
  • Enter your ZWSID into the '/Users/[username]/[directory name]/propalyzer_site/propalyzer_app/views.py' file
ZWSID = '[enter your key here without brackets]'
  • Prep the SQLite database
$ cd Propalyzer/propalyzer_site
$ python manage.py makemigrations propalyzer_app
$ python manage.py migrate
  • Create superuser
$ python manage.py createsuperuser
  • Run local webserver and test the home page
$ python manage.py runserver

Test that the site homepage appears when you browse to http://127.0.0.1:8000/propalyzer.

Log in with your superuser credentials

Prerequisites (Windows Users)

  • Install Miniconda
https://conda.io/miniconda.html
  • Obtain a Zillow account and Zillow API Key (ZWS-ID)
https://www.zillow.com/webservice/Registration.htm
  • Create and configure virtualenv (Use Windows PowerShell, Command Prompt, or a Terminal Emulator such as ConEmu)
> mkdir [directory name]
> cd [directory name]
> conda create --name [virtual environment name]
> activate [virtual environment name]
  • Git dialed in!
> git init
> git config --global user.name "John Doe"
> git config --global user.email [email protected]
> git clone https://github.com/toms3t/Propalyzer.git
  • Install packages from requirements.txt file
> pip install -r Propalyzer/requirements.txt
  • Enter secret key in your /Users/[your username]/[directory name]/propalyzer_site/propalyzer_site/settings.py file and save the settings.py file
  • If you have trouble finding your directory, type "pwd" (without the quotation marks) into your terminal application
secret_key = '[enter new key here without the brackets - you can make the key whatever you want]'
[save settings.py file]
  • Enter your ZWSID into the '/Users/[username]/[directory name]/propalyzer_site/propalyzer_app/views.py' file
ZWSID = '[enter your key here without brackets]'
  • Prep the SQLite database
> cd Propalyzer/propalyzer_site
> python manage.py makemigrations propalyzer_app
> python manage.py migrate
  • Create superuser
> python manage.py createsuperuser
  • Run local webserver and test the home page
> python manage.py runserver

Test that the site homepage appears when you browse to http://127.0.0.1:8000/propalyzer.

Log in with your superuser credentials

Deployment

This web app uses a SQLite database which is installed by Django by default.

Built With

  • Django - The web framework used

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Authors

  • Tom Setliffe - Initial work - toms3t

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Thanks PurpleTooth for the readme template!
  • Zillow for their outstanding API

propalyzer's People

Contributors

aruru99 avatar toms3t avatar

Watchers

 avatar  avatar  avatar

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.