AirBnB clone is a team of two project to clone AirBnB website
The Project will start with console interpreter to perform some operations that include;
create
: Create a new object from the base objectretrieve
: Retrieve an object from a filedo
: Performs an operationdestroy
: Destroy an object
run the following command to start
./console.py
Usage and Examples:
./console.py
(hbnb) help
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
(hbnb) help quit
Quit command to exit the program
(hbnb)
(hbnb)
(hbnb) quit
run the following command to start
git clone https://github.com/NUCCASJNR/AirBnB_clone.git
cd AirBnB_clone
python3 -m unittest discover tests
DIRECTORIES | CONTENT |
---|---|
models | contains BaseModel class and all other class that inherits from it |
our tests | contains the main.py files that were used to test the codes |
tests | contains the unittest test files |
- Github: NUCCASJNR
- Twitter: codewithalareef
- Github: Ayobami