Giter Club home page Giter Club logo

holbertonschool-airbnb_clone's Introduction

AirBnB clone - The consoleπŸ‘©β€πŸ’»

DESCRIPTION PROYECT✍

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.

πŸ“ DESCRIPTION OF THE COMMAND INTERPRETER

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

This is a command interpreter to manipulate data without a visual interface.
πŸ“ No interactive mode:

$ ./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) 
$
πŸ“ Interactive mode:

$ ./console.py

$ ./console.py
(hbnb) help

Documented commands (type help <topic>):
========================================
EOF  help  quit

(hbnb) 
(hbnb) 
(hbnb) quit
$
On this mode the console displays a prompt wating for input:

$ ./console.py (hbnb)

To exit enter the command quit, or input an EOF signal (ctrl-D).

$ ./console.py (hbnb) quit $

$ ./console.py (hbnb) EOF $

Commands πŸ“‹

This console supports the folow commands:
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>)`

Authors πŸ‘­πŸ»

  • Nathaly Ortiz github
  • Yurany Ulchur github

holbertonschool-airbnb_clone's People

Contributors

natha0b avatar yuranyulchur avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.