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

Build forum post frontend part 1 #16

Merged
merged 5 commits into from
Mar 30, 2023
Merged

Conversation

aayush110
Copy link
Contributor

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()

Copy link
Contributor

@angelinasu57 angelinasu57 left a 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.

Copy link
Contributor

@angelinasu57 angelinasu57 left a 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.

@aayush110 aayush110 merged commit 1d21013 into 2-sol-posts Mar 30, 2023
@aayush110 aayush110 linked an issue Mar 30, 2023 that may be closed by this pull request
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]>
@aayush110 aayush110 linked an issue Apr 3, 2023 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants