Visualize and compare Toronto real estate trends across municipalities, and easily create customized municipality-level market reports.
-
Navigate into the backend folder:
cd revisual-backend -
Run
bundle installto install dependencies -
Run
rake db:resetto set up and seed the db -
Import TREB listing data (see Importing TREB Data from CSV)
-
Start the server with
rails server. By default, the backend server listens on port3001and responds with JSON
-
Navigate into the frontend folder:
cd revisual-frontend -
Run
npm installto install dependencies -
Run
npm startto start up the live development server -
Navigate to
localhost:3000
Save csv data to revisual-backend/rets/test-sample.csv.
To import this data into the db from terminal run rake import:listings.
-
cd revisual-backend -
docker-compose build -
docker-compose run --rm web rake db:setup import:listings -
docker-compose up -
cd ../revisual-frontend -
docker-compose build -
docker-compuse up
-
Ruby 2.3.8
-
Rails 5.2.2
-
PostgreSQL 9.6
-
Node.js 11.7
-
React.js 16.7