The project aims to deploy a server on a simple copy of the** AirBnB** website. Keeping in mind that some of the features will be implemented, in order to cover all the fundamental concepts of the higher level programming path.
It is a command interpreter to manipulate data without a visual interface, as in a shell (perfect for development and debugging). A website (the front-end) that displays the final product to everyone: static and dynamic.
A database or files that store data** (data = objects)** An API that provides a communication interface between the front-end and your data (retrieve it, create it, delete it, update it)
$ ./console.py
$ echo "help" | ./console.py
(hbnb)
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
$
$ cat test_help
help
$
$ cat test_help | ./console.py
(hbnb)
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
$
$ ./console.py
$ ./console.py
(hbnb) help
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
(hbnb)
(hbnb) quit
$
$ ./console.py (hbnb)
$ ./console.py (hbnb) quit $
$ ./console.py (hbnb) EOF $
create: `create <class>`
show: `show <class> <id> or <class>.show(<id>)`
destroy: `destroy <class> <id> or <class>.destroy(<id>)`
all:` all or all <class> or <class>.all()`
count: `count <class> or <class>.count()`
update: `update <class> <id> <attribute name> "<attribute value>" or <class>.update(<id>, <attribute name>, <attribute value>) or <class>.update(<id>, <attribute dictionary>)`