Giter Site home page Giter Site logo

lewisjassy / airbnb_clone Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 41 KB

This is a clone of AirBnB website. It does not comprise everything same to the original one but its very close to it and it keeps beenn updated everyday.

Python 83.90% HTML 16.10%

airbnb_clone's Introduction

AirBnB Clone

This is a simplified clone of the AirBnB website implemented in Python. It allows users to manage various objects such as users, states, cities, places, and more.

Installation

  1. Clone the repository:

    git clone <repository_url>
  2. Navigate to the project directory:

    cd AirBnB_clone
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Start the command-line interface:

    python console.py
  2. You will enter the interactive prompt where you can execute commands to manage the objects.

  3. Available commands:

    • create: Create a new object instance.
    • show: Show details of a specific object.
    • destroy: Delete an object.
    • update: Update the attributes of an object.
    • all: Show details of all objects.
    • count: Get the count of objects.
    • Additional commands specific to the implemented models.
  4. Example usage:

    (hbnb) create User
    (hbnb) show User 12345
    (hbnb) update User 12345 name John

Features

  • Manage users, states, cities, places, and other objects.
  • Create, retrieve, update, and delete objects.
  • Data storage using JSON files.
  • Interactive command-line interface.
  • Integration with unit tests for testing the functionality.

Contributing

Contributions are welcome! If you find any bugs or want to add new features, please open an issue or submit a pull request.

  1. Fork the repository.
  2. Create your feature branch: git checkout -b feature/new-feature.
  3. Commit your changes: git commit -am 'Add new feature'.
  4. Push to the branch: git push origin feature/new-feature.
  5. Submit a pull request.

airbnb_clone's People

Contributors

itsmeiliass avatar lewisjassy 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.