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
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
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
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!
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
Email: kokidanny15@gmail.com or swabulwenyi@gmail.com
Project link: https://github.com/TechDanny/AirBnB_clone
These are some of resources we used and would like to give credit to the authors.
- Docker’s AUTHORS page
- unittest module
- datetime
- args/kwargs
- Python test cheatsheet
- cmd module wiki page
- python unittest
- uuid module