Skip to content

AirBnB_clone 1 is the part one of the AirBnB_clone project series, which is about create the console for some basic shell operations.

Notifications You must be signed in to change notification settings

Ayobami6/AirBnB_clone

 
 

Repository files navigation

Airbnb Clone

Airbnb logo

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;

  1. create: Create a new object from the base object
  2. retrieve: Retrieve an object from a file
  3. do: Performs an operation
  4. destroy: Destroy an object

How to start

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

How to run the unittest test files

run the following command to start

git clone https://github.com/NUCCASJNR/AirBnB_clone.git
cd AirBnB_clone
python3 -m unittest discover tests

DIRECTORIES

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

CONTRIBUTORS

Al-Areef

Ayobami

About

AirBnB_clone 1 is the part one of the AirBnB_clone project series, which is about create the console for some basic shell operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.3%
  • HTML 22.1%
  • CSS 9.8%
  • Shell 0.8%