/chorebunny

A light clone of taskRabbit

Primary LanguagePython

ChoreBunny

By: Anthony Huynh, Henry Walton, Johnathan Yih, and Jonathan Chan - Live site: ChoreBunny

ChoreBunny is an inspiration from taskrabbit. It is a Full Stack React Redux application with a Python backend that incorporates Flask and SQLAlchemy. The database system uses PostgreSQL and the site is hosted on Heroku.

Installation

  1. Clone this repository (only this branch)

    git clone https://github.com/hnrywltn/chorebunny
  2. Install dependencies

    pipenv install --dev -r dev-requirements.txt && pipenv install -r requirements.txt
  3. Create a .env file based on the example with proper settings for your development environment

  4. Setup your PostgreSQL user, password and database and make sure it matches your .env file

  5. Get into your pipenv, migrate your database, seed your database, and run your flask app

    pipenv shell
    flask db upgrade
    flask seed all
  6. Start your backend in the root / directory

    flask run
  7. Start your frontend in your /react-app directory

    npm start

IMPORTANT! If you add any python dependencies to your pipfiles, you'll need to regenerate your requirements.txt before deployment. You can do this by running:

pipenv lock -r > requirements.txt

ALSO IMPORTANT! psycopg2-binary MUST remain a dev dependency because you can't install it on apline-linux. There is a layer in the Dockerfile that will install psycopg2 (not binary) for us.


Technologies used

  • Python
  • Javascript
  • React
  • Redux
  • Flask
  • SQL Alchemy
  • PosgreSQL
  • GoogleMaps JavaScript API
  • Heroku
  • Git
  • Docker