-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Favouridowu02
wants to merge
56
commits into
alexaorrico:master
Choose a base branch
from
Favouridowu02:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
nn #3703
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Made the file_storage compatable
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
Updated the DBstorage Engine
Storage get count
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
Made the app and index pycodestyle
… counts of each class
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.