Giter Club home page Giter Club logo

airbnb_clone1's Introduction

Welcome to AirBnB clone - The console ๐Ÿก:

image

The AirBnB Console allows us to manage the objects of the web app.

Commands

  1. Create) - create BaseModel - Creates a new instance of BaseModel (ex: User or Place)
  2. Show - show BaseModel / show BaseModel My_First_Model - If the ID is missing or instance not found it's going to show the message.
  3. Destroy - destroy BaseModel - Deletes an instance based on the class and id
  4. All - all BaseModel - Prints all objects based or not on the class name as a list of strings
  5. Update - update BaseModel - Updates an object based on the class name and id (id, created_at, updated_at can't be updated

Execution of the console

$ ./console.py
(hbnb) help

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

(hbnb) 
(hbnb) 
(hbnb) quit
$

  1. EOF - EOF - exit the program
  2. quit - quit - exit the program
  3. help - help/help quit/help EOF - help exiting the program
  4. Empty line - N/A - an empty line + ENTER shouldn't execute anything
  5. Custom Prompt - (hbnb) - N/A

Environment

  • Language: C, PYTHON , SHELL , HTML, CSS
  • OS: Ubuntu 20.04 LTS

CODESMITH ๐ŸฆŠ

GitHub|iVGeek

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.