An Airbnb clone.
Holbertonbnb is a complete full-stack web application, integrating a MySQL database and Flask RESTful API with a dynamic HTML5/CSS3/jQuery front-end.
Brennan, what is this, your fourth Airbnb repo?
Holbertonbnb was the central web application of the Holberton School year one curriculum. The project spanned the course of two months and four versions, each of which you can view at the below links:
The above versions are separate, isolated codebases. While the first was started from scratch, each of versions 2, 3 and 4 involved inheriting and building on repositories started by previous cohorts at Holberton School. Additionally, the work completed for each version involved collaborating and pair programming with a cohort mate - I worked with a different cohort mate for each version.
This versioning process was a great experience in pair programming and working on unfamiliar, developed codebases. Yet, it was not so great from a portfolio perspective and the want of a central, organized repository where I could show off all the work I coded and learned over the course of this clone.
This repository is just the above - an organized, cleaned up, deployed version of Holbertonbnb. Call it a minified build, if you will.
I started this repository as a duplicate of AirBnB_clone_v4, the final version worked on within the scope of Holberton's curriculum. Since then, I have:
- Cut out all irrelevant code, organizing just that needed to deploy the application.
- Pieced together each of the front-end, back-end and API with strictly my code, copying in the personal implementations of each that I worked on across all four versions.
- Spruced up the front-end and wrote new auto-deployment Puppet and Fabric scripts.
- Wrote thorough, organized documentation for all parts of repo.
What this repository does include:
Models class system built in Python.
Python console to manage back-end models
Flask web application server rendering HTML templates with Jinja2
RESTful Flask API
Automatic deployment scripts.
What this repository does not include:
- Test suite
Unfortunately, the test suite did not hold up well over the course of four different codebases, and was a bit much to justifiably refactor for this minified repo. Which is too bad, because this project involved a significant amount of time spent developing an unittest test suite testing the entire back-end. If you're interested in looking at tests I was involved in writing, my most signficant test work occurred in AirBnB_clone.
View the complete list of app dependencies in the requirements.txt.
In case you missed it - Holbertonbnb is deployed! Please do check it out!
In case you missed it - I've documented this entire repository! Please do check it out!
- Brennan D Baraban - <bdbaraban>
This project is licensed under the MIT License - see the LICENSE file for details.