Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sahinmeric/airbnb_clone
Holberton AirBnB clone project repo.
https://github.com/sahinmeric/airbnb_clone
Last synced: 8 days ago
JSON representation
Holberton AirBnB clone project repo.
- Host: GitHub
- URL: https://github.com/sahinmeric/airbnb_clone
- Owner: sahinmeric
- Created: 2022-02-28T18:47:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T00:07:42.000Z (almost 3 years ago)
- Last Synced: 2024-11-10T18:32:09.267Z (2 months ago)
- Language: Python
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Authors: AUTHORS
Awesome Lists containing this project
README
AirBnB_clone
This is a team project made for Holberton School. It consists in building a clone of AirBnB. This is the first part.
This program contains all the classes needed to store data, which is handled by the class FileStorage.
Installation
```bash
git clone https://github.com/sahinmeric/AirBnB_clone
```
Then, switch to the `AirBnB clone` directory and run:
```bash
./console.py
```Usage
Execute the `console.py`, and the prompt line will appear. Then, you can type an input.
~~~~
root@.. ..AirBnB\_clone#./console
root@.. ..AirBnB\_clone#$ show user 38f22813-2753-4d42-b37c-57a17f1e4f88output: if user exists, prints the string representation
~~~~The program also works in non-interactive mode, passing a command while using echo.
~~~~
root@.. ..AirBnB\_clone# echo "help" | ./console
~~~~Testing
All the tests are defined in the `tests.py` subdirectory.
Contributors
- [Sahin Meric](https://github.com/sahinmeric)
- [Guzman Caraballo](https://github.com/asadoconfritas)