Skip to content

franciscarino/sharebnb

Repository files navigation

📍 Sharebnb

Inspired by Airbnb, ShareBnB is an application that allows users to find vacation rentals, cabins, beach houses, unique homes and experiences around the world. Logged-in users can reserve other users' listings and add/delete listings of their own.

Demo

Demo Login

  • Username: user1
  • Password: password

SharebnbDemoGif

Tech Stack

  • Python
  • Flask
  • AWS S3
  • PostgreSQL
  • SQL Alchemy
  • Jinja
  • WTForms
  • bcrypt
  • HTML
  • CSS
  • Bootstrap

Run on your machine

  1. Clone the repository, create a virtual environment and install depencencies
$ git clone https://github.com/franciscarino/sharebnb.git
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
  1. Setup the database
(venv) $ psql
=# CREATE DATABASE sharebnb;
=# (control-d)
(venv) $ python seed.py
  1. Create .env file for config
SECRET_KEY=*****
DATABASE_URL=postgresql:///sharebnb
  1. Start the server and view in browser
$ flask run -p 5001

This runs the app in the development mode. Open http://localhost:5001 to view it in your browser.

Future Features to Add

  • Thorough testing
  • Add calendar for booking reservations
  • Edit form
  • Allow users to message other users

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors