Skip to content

pcricket10/Airbeanb

Repository files navigation

Airbeanb

project-image04

What is airbeanb?

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

Technologies used

Frontend

  • React
  • Reactjs-popup
  • Redux
  • HTML
  • CSS

Backend

  • Flask
  • Python
  • WTForms
  • Postgres
  • SQLAlchemy

Airbeanb setup

  1. Clone the Repository
   git clone git@github.com:pcricket10/Airbeanb.git
  1. install dependencies
pipenv install --dev -r dev-requirements.txt && pipenv install -r requirements.txt && npm --prefix ./react-app install

  1. create a .env file in the project root directory using .env.example as a guide

  2. 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>;
    
  3. migrate, seed, and run the flask app

   pipenv shell
flask db upgrade
flask seed all
flask run
  1. start the frontend server
cd react-app
npm start

About

Airbeanb. find bean farmers from around the world!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published