/Getaway-Bnb

Getaway, inspired by Airbnb, is website where users can find, list, review, and book rental places located in Brazil.

Primary LanguagePython

Welcome to Getaway-Bnb!

Overview

Getaway, inspired by Airbnb, is website where users can find, list, and review rental places located in Brazil.

image

Architecture

Getaway is built on a React frontend with a Flask backend, using PostgreSQL as a database.

Technologies Used

  • Frontend

    • React
    • Redux
    • JavaScript
    • HTML
    • CSS
  • Backend

    • Flask
    • Python
    • PostgreSQL
    • SQLAlchemy

Getaway Setup

  1. Clone this repository (only this branch) : git clone https://github.com/lucascostamonteiro/Getaway-Bnb

  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
  • flask run
  1. To run the React App in development, checkout the README inside the react-app directory.

Features

All listings page

  • User can view all available listings after the clock the 'Discover Brazil' button in the home page.

image

My listings page

  • User can view their listings by clicking on the top right corner menu.

image

Listings details page

  • By clicking in the image listing, a user can view details and reviews for that listing. image