Giter VIP home page Giter VIP logo

airbnb_clone's Introduction

AirBnB Clone

Project Description

This project aims to create a clone of the popular AirBnB platform. The goal is to develop a command interpreter that allows users to manage AirBnB objects efficiently. The command interpreter will handle operations such as creating, retrieving, updating, and deleting objects. It will also support additional functionalities like counting, computing statistics, and more.

Command Interpreter Description

The command interpreter is a Python-based tool that provides a command-line interface to interact with the AirBnB clone. It enables users to perform various operations on AirBnB objects through a set of predefined commands. By using the command interpreter, users can manage users, states, cities, places, and other entities related to the AirBnB platform.

Getting Started

To get started with the AirBnB clone command interpreter, follow these steps:

  1. Clone the repository:

git clone https://github.com/jamesayim/AirBnB_clone.git

  1. Install the necessary dependencies:

pip install -r requirements.txt

  1. Run the command interpreter:

./console.py

  1. Use the available commands to interact with the AirBnB clone. Type help to see a list of supported commands and their usage.

Examples

Here are some examples of commands you can use in the command interpreter:

  • Create a new user:

(hbnb) create User

  • Retrieve a place by ID:

(hbnb) show Place 12345

  • Update the name of a city:

(hbnb) update City 54321 name "New City Name"

  • Delete a user:

(hbnb) destroy User 98765

Author

  • James Ayim (@jamesayim)

airbnb_clone's People

Contributors

jamesayim avatar

Watchers

 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.