1) invoke the api from dumy server:- http://fake-hotel-api.herokuapp.com/
2) retrives data from api and send 5 Hotels as a response
3) Shows all the information of each hotel includings reviews
4) Shows the images associated with it
5) Shows all the reviews of the each hotel
1) Home Page- home.html
2) Load Hotels- load_hotels.html
3) Reviews - reviews.html
4) code
1) create python3 venv
1.1) sudo apt install python3-venv
1.2) python3 -m venv my-project-env
1.3) source my-project-env/bin/activate
2) install dependencies
pip install -r requirements.txt
3) flask run :)
visit localhost:- http://127.0.0.1:5000/