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.
- Username: user1
- Password: password
- Python
- Flask
- AWS S3
- PostgreSQL
- SQL Alchemy
- Jinja
- WTForms
- bcrypt
- HTML
- CSS
- Bootstrap
- 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
- Setup the database
(venv) $ psql
=# CREATE DATABASE sharebnb;
=# (control-d)
(venv) $ python seed.py
- Create .env file for config
SECRET_KEY=*****
DATABASE_URL=postgresql:///sharebnb
- 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.
- Thorough testing
- Add calendar for booking reservations
- Edit form
- Allow users to message other users
