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.
-
Clone this repository (only this branch)
git clone https://github.com/hnrywltn/chorebunny
-
Install dependencies
pipenv install --dev -r dev-requirements.txt && pipenv install -r requirements.txt
-
Create a .env file based on the example with proper settings for your development environment
-
Setup your PostgreSQL user, password and database and make sure it matches your .env file
-
Get into your pipenv, migrate your database, seed your database, and run your flask app
pipenv shell
flask db upgrade
flask seed all
-
Start your backend in the root
/
directoryflask run
-
Start your frontend in your
/react-app
directorynpm 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.
- Python
- Javascript
- React
- Redux
- Flask
- SQL Alchemy
- PosgreSQL
- GoogleMaps JavaScript API
- Heroku
- Git
- Docker