-
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
Build forum post frontend part 1 #16
Conversation
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.
Commented out postService constructor in our forum component; need to uncomment so that we can construct a postService to use and refer back to.
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.
LGTM, form responses are showing up on the frontend of the page! Great job! Will work on improving and fleshing out viewform component in the next step so that we can look at the registrations as they are coming through.
* 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]>
Used form builder that takes in the content of the post from forum component.
Created post.service with four key methods:
getPost()
getPosts()
makePost()
deletePost()