Getaway, inspired by Airbnb, is website where users can find, list, and review rental places located in Brazil.
Getaway is built on a React frontend with a Flask backend, using PostgreSQL as a database.
-
Frontend
- React
- Redux
- JavaScript
- HTML
- CSS
-
Backend
- Flask
- Python
- PostgreSQL
- SQLAlchemy
-
Clone this repository (only this branch) :
git clone https://github.com/lucascostamonteiro/Getaway-Bnb
-
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.
- User can view all available listings after the clock the 'Discover Brazil' button in the home page.
- User can view their listings by clicking on the top right corner menu.