GithubHelp home page GithubHelp logo

kimaita / airbnb_clone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nooby6/airbnb_clone

0.0 0.0 0.0 180 KB

An AirBnB clone, part of the alx SWE curriculum,

Python 47.96% HTML 35.35% CSS 16.69%

airbnb_clone's Introduction

AirBnB Clone

The larger AirBnB clone project has the goal of creating and deploying a simple copy of the AirBnb website. It consists of 4 parts:

  1. Command interpreter: to manipulate data without a visual interface, like in a Shell (perfect for development and debugging)
  2. Website: shows the final product to everybody: static and dynamic (the front-end).
  3. Storage: a database or files (data = objects)
  4. API: provides a communication interface between the front-end and data (retrieve, create, delete, update them)

The Console

The console project is a command interpreter for use in manipulating data. It enables managing the objects of the AirBnB clone project without a visual interface. Here we will be creating a storage engine that abstracts objects from their storage and persistence; offering basic CRUD functionality and a few other functions.

The specific objectives in this part of the project are:

  • Creation of the data model
  • CRUD functionality via a console
  • JSON file persistence

The Console objective - storage engine

Starting

Clone this repo and navigate into it:

git clone https://github.com/nooby6/AirBnB_clone
cd AirBnB_clone

The python scripts in this project start with the shebang #!/usr/bin/python3 and so can be executed directly on a Linux system.
To start the console:

  • Interactive mode

    $ ./console.py
    (hbnb)
  • Non-interactive/Command mode

    ./console.py cmd args

For other platforms, pass in the path to the Python executable or if already added to path, use the appropriate python command(python, python3)

  • Interactive mode

    $ python console.py
    (hbnb)
  • Non-interactive/Command mode

    python console.py cmd args

Usage

Examples

airbnb_clone's People

Contributors

kimaita avatar nooby6 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.