Skip to content
A recommendation system for suggesting where a user should live within the USA based on input data and datasets
Python JavaScript CSS HTML Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
presentation
src
web
.gitignore
.travis.yml
LICENSE
README.md
csv_json.py
docker-compose.yml
join_csv.py
logo.png

README.md

Py The Way

Build Status License

A recommendation system for suggesting where a user should live within the USA based on input data and datasets

About this project

This project is a recommendation system that recommends where a user should live in the US using big data, python and pandas.

It was originally made for a hackathon where it came first place.

Requirements

  • Docker
  • Docker Compose
  • Python3
  • Pip3
  • Node.js
  • Npm

Installation

Production

  1. In the web directory, first change api in App.js to your backend endpoint.

  2. Run npm i and npm run build in that directory.

  3. In the base dir, create file called .env.

  4. Fill that file out as such:

    FRONTEND_PORT=YOUR_PORT
    BACKEND_PORT=YOUR_PORT
    HOST=YOUR_DOMAIN/HOST
    
  5. Run docker-compose up -d in the base dir to start the service

    Run docker-compose down to stop the service

Development

Frontend

  • cd web
  • (First Time) npm i
  • npm start

Backend

  • cd src
  • (First Time) pip install -r requirements.txt
  • python3 main.py

Contributors

You can’t perform that action at this time.