A simple application program for the Airbnb database, and implement several functions for querying and modifying the database.
The Usage of Database Application program
Author: Yu Ke
This program is designed in Python
When using this application, you have 2 chioce at first: One is searching and booking part, the other is reviewing part.
Firts Part:
- Start searching a room with specific information you input, such as price, bedrooms and dates.
- Then you will get book listings that meet your requests
- After that, you can start you book. You can only input your name, listing id and guests number. The dates will use the ones in your searching, so you can not input a random date to destory the database.
Second Part:
- You start with input your name, and the get the booking lists you have.
- Then you can choice one and write reviews and comments.
- If you contradict the trigger in the database, the comments can not be inserted. In this part, I used Try & Except to find the exception, and print the error.