Giter VIP home page Giter VIP logo

carver-edison's Introduction

Carver Edison Project Ryan Brandt

Pre

How to run

  1. Download the repository

  2. From the root folder run the command:

     docker-compose up 
    

The following chain of events will happen:

  1. docker-compose.yml will be executed
  2. Postgres will start and inicialize a database
  3. The api service will wait for the database to become active
  4. After the all clear, the manhattan excel data will be downloaded and inserted into the database
  5. A flask api service will start on port 6001

How to query

Send a post request to the endpoint: http://localhost:6001/api/get-properties-sold

Example post request json:

{ "low": "0", "high": "1000000000" }

Other Information

utils.py contains fill_database(). The manhattan excel data will be downloaded and inserted into the database

utils.py contains the plot function show_avg_sale_by_year(). It queries the database and plots the information on a bar graph.

Average Sale Price By Year

Alt text

carver-edison's People

Contributors

rbrandt88 avatar

Watchers

James Cloos 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.