-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement get post and create post services and api routes #18
Merged
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
aayush110
approved these changes
Mar 30, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Will! Thank you for the progress! This looks awesome. Great job!
wastilla
added a commit
that referenced
this pull request
Mar 30, 2023
* Created post data model (#12) Add Post datamodel * Add post entity (#13) Add post entity * Build forum post frontend part 1 (#16) * build forum post frontend part 1 * created viewforum as a page to look at all forums * Start working on forwarding form responses to the viewforum component. * Clean up whitespace on makeforum. * Edited onSuccess to include dynamic responses as input comes in. Created VewForm HTML similar to STATS page. --------- Co-authored-by: angelinasu57 <[email protected]> * Finish creating viewForum component HTML to show form responses. (#17) * Finish creating viewForum component HTML with Response, First and Last name, and date for each form response. * Add in Last Name in the table to keep track of the responses, as per suggestion. * Adjusted endpoints and remove comments. * Implement get post and create post services and api routes (#18) Implement create and getall API routes top down to retrieve and create posts - Created post service file - Implement create and get All method in post service - Implement api routes and Sqlchemy table for PostEntity - Implement New findUsers method in UserService - Implement fully functional post service * Integrate frontend and backend Fully integrate frontend with backend enabling viewing list of posts and creating posts via API endpoints * Build unit tests that cover post service (#22) * Add finishing touches to Views as well as error handling Add styling to HTML elements and navigation between forum pages. Implement error handling for post creation --------- Co-authored-by: Warren Quadland <[email protected]> Co-authored-by: Aayush Mehra <[email protected]> Co-authored-by: angelinasu57 <[email protected]> Co-authored-by: Angelina Su <[email protected]>
3 tasks
3 tasks
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.
Fix Circular import issue by searching for existing user in API route before creating a post object in the database
Use fetched user as an UserEntity parameter when storing the post