Skip to content

Project to be done in teams of 2 people (your team: Robel Hailemichael, Aman Brhane)

Notifications You must be signed in to change notification settings

Ambesawi/AirBnB_clone_v3

 
 

Repository files navigation

AirBnB Clone - The Console

The console is the first segment of the AirBnB project at Holberton School that will collectively cover fundamental concepts of higher level programming. The goal of AirBnB project is to eventually deploy our server a simple copy of the AirBnB Website(HBnB). A command interpreter is created in this segment to manage objects for the AirBnB(HBnB) website.

Functionalities of this command interpreter:

  • Create a new object (ex: a new User or a new Place)
  • Retrieve an object from a file, a database etc...
  • Do operations on objects (count, compute stats, etc...)
  • Update attributes of an object
  • Destroy an object

Resources

Read or watch:

  • REST API concept page
  • Learn REST: A RESTful Tutorial
  • Designing a RESTful API with Python and Flask
  • HTTP access control (CORS)
  • Flask cheatsheet
  • What are Flask Blueprints, exactly?
  • Flask
  • Modular Applications with Blueprints
  • Flask tests
  • Flask-CORS

Learning Objectives

At the end of this project, you are expected to be able to explain to anyone, without the help of Google:

Requirements

Python Scripts

  • Allowed editors: vi, vim, emacs
  • All your files will be interpreted/compiled on Ubuntu 20.04 LTS using python3 (version 3.4.3)
  • The first line of all your files should be exactly #!/usr/bin/python3
  • our code should use the PEP 8 style (version 1.7)
  • All your modules should have documentation (python3 -c

Installation

  • Clone this repository: git clone "https://github.com/alexaorrico/AirBnB_clone.git"
  • Access AirBnb directory: cd AirBnB_clone
  • Run hbnb(interactively): ./console and enter command
  • Run hbnb(non-interactively): echo "<command>" | ./console.py

About

Project to be done in teams of 2 people (your team: Robel Hailemichael, Aman Brhane)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.0%
  • HTML 11.5%
  • CSS 7.1%
  • Shell 0.4%