umunnaemeka / AirBnB_clone_v2

Project done during **Full Stack Software Engineering studies** at **ALX SE School**.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#AirBnB clone - MySQL

This is a Full-Stack AirBnB Clone program that uses Python, SQL, SQLalchemy, RESTfulApi, jquery, Html, CSS

Project done during Full Stack Software Engineering studies at ALX SE School.

Technologies

  • Scripts written in Bash 4.3.11(1)
  • C files are compiled using gcc 4.8.4
  • Tested on Ubuntu 20.04 LTS The console can be used to store objects in and retrieve objects from a JSON.

Supported classes:

  • BaseModel
  • User
  • State
  • City
  • Amenity
  • Place
  • Review

Commands:

  • create - create an object
  • show - show an object (based on id)
  • destroy - destroy an object
  • all - show all objects, of one type or all types
  • quit/EOF - quit the console
  • help - see descriptions of commands

To start, navigate to the project folder and enter ./console.py in the shell.

Create

create <class name> Ex: create BaseModel

Show

show <class name> <object id> Ex: show User my_id

Destroy

destroy <class name> <object id> Ex: destroy Place my_place_id

All

all or all <class name> Ex: all or all State

Quit

quit or EOF

Help

help or help <command> Ex: help or help quit

Additionally, the console supports <class name>.<command>(<parameters>) syntax. Ex: City.show(my_city_id)

About

Project done during **Full Stack Software Engineering studies** at **ALX SE School**.


Languages

Language:Python 51.6%Language:HTML 29.8%Language:CSS 17.0%Language:Puppet 1.2%Language:Shell 0.4%