Giter Site home page Giter Site logo

airbnb_clone's Introduction

AirBnB_clone

Description

A The Room SE group project aimed at elucidating SE students on the nitty gritties of full web application development by replicating the Airbnb website/web app.

Table of Contents

Usage

To use this application:

  • Clone this repo git clone https://github.com/StephenMakenziWaweru/AirBnB_clone
  • cd into it and make console.py executable cd AirBnB_clone; chmod u+x console.py
  • Check below commands for more help
Command Description
./console.py Opens the (hbnb) interpreter
all Prints all string representation of all instances
create Creates a new instance of BaseModel
destroy Deletes an instance based on the class name and id
show Prints the string representation of an instance
update Updates an instance based on the class name and id
quit QUIT command that exits the program

Example usage

Launching console.py, checking available commands, and creating a User

mack@mack-pc:~/ALX/Python/AirBnB_clone$ ./console.py 
(hbnb) help

Documented commands (type help <topic>):
========================================
EOF  all  count  create  destroy  help  quit  show  update

(hbnb) create User
11dff8b8-f77f-4eb0-8535-42553d6155e8
(hbnb)

File description

File Description
console.py Creates the command line intepreter
models/base_model.py Contains a class defining attributes and methods for other classes
models/engine/file_storage.py Contains the class for JSON serialization and deserialization
tests/test_console.py Edge cases for the CLI
tests/test_base_model.py Edge cases for BaseModel()
tests/test_file_storage.py Edge cases for FileStorage()

Bugs

  • No known bugs

Authors

AUTHOR EMAIL TWITTER LINKEDIN
Stephen Makenzi Waweru [email protected] @StephenMakenzi Stephen Makenzi
Amos Njagi Ndungo [email protected] @_chief__omar A. Njagi Ndungo

License

No special licenses needed

airbnb_clone's People

Contributors

engmackenzie avatar

Watchers

Umar Ndungo avatar  avatar

Forkers

enzonjagi

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.