/AirBnB_clone

0x00. AirBnB clone - The console

Primary LanguagePython

AirBNB Clone

Description

This is a complete web application, integrating database storage, a back-end API, and front-end interface.

This part 1 of our AirBnB Clone project aims at making a command line interpreter/console that manages our AirBnB objects.

CONCEPTS

  • 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

SYNOPSIS

Starting the Commandline Interpreter

The Commandline Interpreter can be started by executing the command ./console.py. The console can create, show, destroy, and update objects. Type help within the console to get a list of command options and its function for proper use.