/makersbnb

This project is a clone of AirBnB, completed as part of Makers Academy Bootcamp during Week 8.

Primary LanguagePython

MakersBnB

This project is a clone of AirBnB, completed as part of Makers Academy Bootcamp during Week 8.

🤝 Our Team

🚀 Tech stack

💻 Running the project

Clone the project to your local machine.

git clone https://github.com/denisecodes/makersbnb.git

Run pipenv install to install all the dependencies.

pipenv install

Run pipenv shell to start the virtual environment.

pipenv shell

Create the database makers_bnb for development mode.

createdb makers_bnb

Then add the tables locally to the makers_bnb database.

python seed_dev_database.py

Run the app locally in the shell.

python app.py

Now visit http://localhost:8000/ to see the app

🧪 Running the tests

If you are interested to see our tests and run them locally

Run pipenv install to install all the dependencies.

pipenv install

Install the playwright library to run the tests.

playwright install

Run pipenv shell to start the virtual environment.

pipenv shell

Create the database makers_bnb_test for test mode.

createdb makers_bnb_test

Then add the tables locally to the makers_bnb_test database.

python seed_test_database.py

Run the tests in your terminal.

pytest

🫶 Special Thanks

Makers for giving us the opportunity to work on this cool project on our journey into tech.
Our coaches Hunor and Leo for guiding and teaching us throughout the project!