Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nn #3703

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open

nn #3703

wants to merge 56 commits into from

Conversation

Favouridowu02
Copy link

No description provided.

Implemented the count and get feature. This feature is to count the occurence of a class in the database
Made little changes to the file_storage engine
Implemented the get method: The get method is to get the representation of an object from the data base
Implemented the count method: The count Method count the occurrence of a class in the database
Handled an egde case in the get method of FileStorage
Updated the test cases for the FileStorage and DBStorage Engine
Started with Creating a blueprint and setting up the '/api/v1/status' route
Implemented the layout for the api of the Airbnb Clone project
Started with Creating a blueprint and setting up the '/api/v1/status' route
Implemented the layout for the api of the Airbnb Clone project
Made the app and index pycodestyle
Implemented the /api/v1/stats route. This Route returns the number of…
Updated the index.py module to handle some edge cases
Implemented the GET method for the route='/api/v1/states/' and route='/api/v1/states/<state_id>  that fetches the states and or state if the id is specified
Implemented the POST method for the route='/api/v1/states/' that posts a data to be created
Implemented the PUT method for the route='/api/v1/states/<state_id>' that updates the data of the instance of a state class in the storage
Implemented the DELETE method for the route='/api/v1/states/<state_id>' that deletes the instance a state class
Updated the GET request api call to return an empty array if no cities is linked to a state
Updated the GET request api call to return an empty array if no cities is linked to a state
Updated the GET request api call to return an empty array if no cities is linked to a state
Updated the GET request api call to return an empty array if no cities is linked to a state
Added the model amenity that contains some API route that for the amenities
Implemented the POST, GET, PUT and DELETE methods for the amenity api in route '/api/v1/amenities/<amenity_id>' or '/api/v1/amenities
Corrected some errors in the amenity model. Ensured that the methods where return a jsonify dictionary
Ensured the error handling is correct and it is Pycodestyle compliable. Added some test cases in the Testing model to ensurfe it worked fine
Implemented the CRUD operation for the users api
Implemented the GET, POST, PUT, DELETE (CRUD) methods for the places
Implemented the GET, POST, PUT, DELETE (CRUD) methods for the places
Implemented the api model for the review api with route=/api/v1/views/reviews. The model contains the CRUD operations for the api endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant