Airbeanb is an Airbnb clone where instead of searching for a place to stay, you can search for beans and bean growers from all over. Logged in users can post and leave reviews
- React
- Reactjs-popup
- Redux
- HTML
- CSS
- Flask
- Python
- WTForms
- Postgres
- SQLAlchemy
- Clone the Repository
git clone git@github.com:pcricket10/Airbeanb.git
- install dependencies
pipenv install --dev -r dev-requirements.txt && pipenv install -r requirements.txt && npm --prefix ./react-app install
-
create a
.env
file in the project root directory using.env.example
as a guide -
create a Postgres database and user using the values from the .env file
psql
CREATE USER <app name> WITH PASSWORD '<secure password' CREATEDB;
CREATE DATABASE <database name> WITH OWNER <app name>;
-
migrate, seed, and run the flask app
pipenv shell
flask db upgrade
flask seed all
flask run
- start the frontend server
cd react-app
npm start