AirBnB clone project

A simple copy of the AirBnB website.


Discription of the project

  • learning objective of this project is to be able to explain
  • How to create a Python package
  • How to create a command interpreter in Python using the cmd module
  • What is Unit testing and how to implement it in a large project
  • How to serialize and deserialize a Class
  • How to write and read a JSON file
  • How to manage datetime
  • What is an UUID
  • What is *args and how to use it
  • What is **kwargs and how to use it
  • How to handle named arguments in a function
  • also to have basic background of how to accomplish the listed tasks

Disctiption of Command interpreter

A command interpreter allows the user to interact with aprogram using commands in the form of text lines command interpreter serve many purpose and are more powerfull and useful than graphical user interface


How to start it

the python interpreter is usually installed as /usr/local/bin/python3.11 on those machines where it is available; putting /usr/local/bin in Linux systems to start it by typing the command:
python3.11
python -c command [arg] ...
- - - - - - - - - - - - - - -

usage

$ ./console.py (hbnb) help

Documented commands (type help ):

EOF help quit

(hbnb) (hbnb) (hbnb) quit $