' + currentPlace.name + '
' + currentPlace.max_guest + ' Guests
' + currentPlace.number_rooms + ' Bedrooms
' + currentPlace.number_bathrooms + ' Bathroom
├── api ├── __init__.py └── v1 │ ├── __init__.py │ ├── views │ ├── documentation │ │ ├── city │ │ │ ├── delete_city.yml │ │ │ ├── put_city.yml │ │ │ ├── post_city.yml │ │ │ ├── get_city.yml │ │ │ └── cities_by_state.yml │ │ ├── user │ │ │ ├── delete_user.yml │ │ │ ├── put_user.yml │ │ │ ├── post_user.yml │ │ │ ├── all_users.yml │ │ │ └── get_user.yml │ │ ├── place │ │ │ ├── delete_place.yml │ │ │ ├── put_place.yml │ │ │ ├── post_place.yml │ │ │ ├── post_search.yml │ │ │ ├── get_place.yml │ │ │ └── get_places.yml │ │ ├── state │ │ │ ├── delete_state.yml │ │ │ ├── post_state.yml │ │ │ ├── put_state.yml │ │ │ ├── get_state.yml │ │ │ └── get_id_state.yml │ │ ├── reviews │ │ │ ├── delete_reviews.yml │ │ │ ├── put_reviews.yml │ │ │ ├── post_reviews.yml │ │ │ ├── get_review.yml │ │ │ └── get_reviews.yml │ │ ├── amenity │ │ │ ├── post_amenity.yml │ │ │ ├── put_amenity.yml │ │ │ ├── delete_amenity.yml │ │ │ ├── all_amenities.yml │ │ │ └── get_amenity.yml │ │ └── place_amenity │ │ │ ├── delete_place_amenities.yml │ │ │ ├── post_place_amenities.yml │ │ │ └── get_places_amenities.yml │ ├── __init__.py │ ├── index.py │ ├── states.py │ ├── users.py │ ├── amenities.py │ ├── places_amenities.py │ ├── cities.py │ └── places_reviews.py │ └── app.py ├── tests ├── __init__.py ├── test_models │ ├── __init__.py │ └── test_engine │ │ └── __init__.py └── test_console.py ├── web_dynamic ├── __init__.py ├── static │ ├── images │ │ ├── icon.png │ │ ├── logo.png │ │ ├── icon_bed.png │ │ ├── icon_bath.png │ │ └── icon_group.png │ ├── styles │ │ ├── 4-common.css │ │ ├── 3-footer.css │ │ ├── 3-header.css │ │ ├── 6-filters.css │ │ ├── 8-places.css │ │ └── w3c_validator.py │ └── scripts │ │ ├── 1-hbnb.js │ │ ├── 2-hbnb.js │ │ ├── 3-hbnb.js │ │ ├── 4-hbnb.js │ │ ├── 100-hbnb.js │ │ └── 101-hbnb.js ├── 0-hbnb.py ├── 1-hbnb.py ├── 2-hbnb.py ├── 3-hbnb.py ├── 4-hbnb.py ├── 100-hbnb.py ├── 101-hbnb.py └── templates │ ├── 0-hbnb.html │ ├── 1-hbnb.html │ ├── 2-hbnb.html │ ├── 3-hbnb.html │ ├── 4-hbnb.html │ ├── 100-hbnb.html │ └── 101-hbnb.html ├── web_flask ├── __init__.py ├── templates │ ├── 100-hbnb.html~ │ ├── 5-number.html │ ├── 6-number_odd_or_even.html │ ├── 7-states_list.html │ ├── 8-cities_by_states.html │ ├── 9-states.html │ ├── 10-hbnb_filters.html │ ├── 100-hbnb.html │ └── w3c_validator.py ├── README.md ├── static │ ├── images │ │ ├── icon.png │ │ ├── logo.png │ │ ├── icon_bath.png │ │ ├── icon_bed.png │ │ └── icon_group.png │ └── styles │ │ ├── 3-header.css │ │ ├── 4-common.css │ │ ├── 3-footer.css │ │ ├── 6-filters.css │ │ ├── 8-places.css │ │ └── w3c_validator.py ├── 0-hello_route.py ├── 1-hbnb_route.py ├── 2-c_route.py ├── 7-states_list.py ├── 3-python_route.py ├── 4-number_route.py ├── 10-hbnb_filters.py ├── 100-hbnb.py ├── 8-cities_by_states.py ├── 9-states.py ├── 5-number_template.py └── 6-number_odd_or_even.py ├── code_review.txt ├── models ├── engine │ ├── __init__.py │ ├── file_storage.py │ └── db_storage.py ├── __init__.py ├── amenity.py ├── review.py ├── city.py ├── state.py ├── user.py ├── base_model.py └── place.py ├── web_static ├── README.md ├── styles │ ├── 2-common.css │ ├── 2-header.css │ ├── 102-header.css │ ├── 103-header.css │ ├── 3-header.css │ ├── 2-footer.css │ ├── 3-footer.css │ ├── 102-footer.css │ ├── 103-footer.css │ ├── 3-common.css │ ├── 4-common.css │ ├── 102-common.css │ ├── 103-common.css │ ├── 7-places.css │ ├── 4-filters.css │ ├── 5-filters.css │ ├── 6-filters.css │ ├── 8-places.css │ ├── 100-places.css │ ├── 101-places.css │ ├── 102-places.css~ │ ├── 102-filters.css │ ├── 102-places.css │ └── 103-filters.css ├── images │ ├── icon.png │ ├── logo.png │ ├── icon_bed.png │ ├── icon_tv.png │ ├── icon_bath.png │ ├── icon_group.png │ ├── icon_pets.png │ └── icon_wifi.png ├── 2-index.html ├── 3-index.html ├── 0-index.html ├── 4-index.html ├── 1-index.html ├── 5-index.html ├── 6-index.html ├── 7-index.html └── w3c_validator.py ├── AUTHORS ├── setup_mysql_dev.sql ├── setup_mysql_test.sql ├── 0-setup_web_static.sh ├── 1-pack_web_static.py ├── 2-do_deploy_web_static.py └── 3-deploy_web_static.py /api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web_dynamic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web_flask/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code_review.txt: -------------------------------------------------------------------------------- 1 | jzamora5 2 | -------------------------------------------------------------------------------- /models/engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web_flask/templates/100-hbnb.html~: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_models/test_engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web_static/README.md: -------------------------------------------------------------------------------- 1 | ** Web Static AirBnB 2 | -------------------------------------------------------------------------------- /web_flask/README.md: -------------------------------------------------------------------------------- 1 | # Web Framework with Flask 2 | -------------------------------------------------------------------------------- /web_static/styles/2-common.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0px; 3 | padding: 0px; 4 | } 5 | -------------------------------------------------------------------------------- /web_static/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_static/images/icon.png -------------------------------------------------------------------------------- /web_static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_static/images/logo.png -------------------------------------------------------------------------------- /web_static/images/icon_bed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_static/images/icon_bed.png -------------------------------------------------------------------------------- /web_static/images/icon_tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_static/images/icon_tv.png -------------------------------------------------------------------------------- /web_flask/static/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_flask/static/images/icon.png -------------------------------------------------------------------------------- /web_flask/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_flask/static/images/logo.png -------------------------------------------------------------------------------- /web_static/images/icon_bath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_static/images/icon_bath.png -------------------------------------------------------------------------------- /web_static/images/icon_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_static/images/icon_group.png -------------------------------------------------------------------------------- /web_static/images/icon_pets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_static/images/icon_pets.png -------------------------------------------------------------------------------- /web_static/images/icon_wifi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_static/images/icon_wifi.png -------------------------------------------------------------------------------- /web_dynamic/static/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_dynamic/static/images/icon.png -------------------------------------------------------------------------------- /web_dynamic/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_dynamic/static/images/logo.png -------------------------------------------------------------------------------- /web_dynamic/static/images/icon_bed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_dynamic/static/images/icon_bed.png -------------------------------------------------------------------------------- /web_flask/static/images/icon_bath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_flask/static/images/icon_bath.png -------------------------------------------------------------------------------- /web_flask/static/images/icon_bed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_flask/static/images/icon_bed.png -------------------------------------------------------------------------------- /web_flask/static/images/icon_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_flask/static/images/icon_group.png -------------------------------------------------------------------------------- /web_static/styles/2-header.css: -------------------------------------------------------------------------------- 1 | header { 2 | background-color: #FF0000; 3 | height: 70px; 4 | width: 100%; 5 | } 6 | -------------------------------------------------------------------------------- /web_dynamic/static/images/icon_bath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_dynamic/static/images/icon_bath.png -------------------------------------------------------------------------------- /web_dynamic/static/images/icon_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victor0089/AirBnB_clone_v4/HEAD/web_dynamic/static/images/icon_group.png -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists all individuals having contributed content to the repository. 2 | 3 | 4 | Jennifer Huang <133@holbertonschool.com> 5 | Alexa Orrico <210@holbertonschool.com> 6 | Joann Vuong <130@holbertonschool.com> 7 | -------------------------------------------------------------------------------- /web_flask/templates/5-number.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |