TechDanny / AirBnB_clone

An AirBnB web app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AirBnB clone - Console

AirBnB Logo

Project Description


This AirBnB project is a command intepreter to manipulate data without a visual interface.

So in the console you will be able to:
1. create your data model
2. manage (create, update, destroy, etc) objects via a console / command interpreter
3. store and persist objects to a file (JSON file)
The first piece is to manipulate a powerful storage system. This storage engine will give us an abstraction between “My object” and “How they are stored and persisted”.

This abstraction will also allow you to change the type of storage easily without updating all of your codebase.

The console will be a tool to validate this storage engine

Installation


In order to access this project, you have to run the following command in the console:

  git clone https://@github.com/TechDanny/AirBnB_clone.git

Run


To run this program, enter the following command:

  cd AirBnB_clone

To execute the program, run the following commands

  ./console.py

or

  python3 console.py

To get help, run this command:

  help

To quit from the program, run this command:

  quit

Contribitions


If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contacts


Email: kokidanny15@gmail.com or swabulwenyi@gmail.com

Project link: https://github.com/TechDanny/AirBnB_clone

Acknowledgments


These are some of resources we used and would like to give credit to the authors.

  1. Docker’s AUTHORS page
  2. unittest module
  3. datetime
  4. args/kwargs
  5. Python test cheatsheet
  6. cmd module wiki page
  7. python unittest
  8. uuid module

About

An AirBnB web app


Languages

Language:Python 57.0%Language:HTML 29.7%Language:CSS 13.3%