This directory contains all classes used to store information for the website.
- base_model.py - The BaseModel class from which future classes will be derived
- amenity.py - contains the Amenity class, derived from BaseModel
- city.py - contains the City class, derived from BaseModel
- place.py - contains the Place class, derived from BaseModel
- review.py - contains the Review class, derived from BaseModel
- state.py - contains the State class, derived from BaseModel
- user.py - contains the User class, derived from BaseModel
- engine directory contains all storage classes:
- file_storage.py - serializes/deserializes instances to/from a JSON file
- db_storage.py - saves and loads instances to/from a MySQL database
- engine directory contains all storage classes: