UBrew is an app that allows homebrewers to connect with each other and share brewing recipes. Users can upload photos and recipes of their favorite brews. They can search for and save new brews to their rotation and can follow other brewers on the app. UBrew makes clever use of React/Redux to provide a robust user experience without relying on 3rd party packages or API's.
UBrew uses the following tools, frameworks, and key packages:
Flask-SQLAlchemy (with PostgreSQL)
Hosted on Heroku
-
Clone this repository
git clone https://github.com/Austin-from-TX/UBrew
-
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
flask run
-
To run the React App in development, checkout the README inside the
react-app
directory.
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).