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

[FEATURE] Adding Backend Functionality for Newsletter Signup Form #73

Closed
1 task done
shreya5653 opened this issue Oct 12, 2024 · 10 comments
Closed
1 task done
Assignees
Labels
enhancement New feature or request gssoc GirlScript Summer Of Code gssoc-ext hacktoberfest hacktoberfest-accepted level3 GirlScript Summer Of Code - 35 points status: ready for dev You can asked for this issue to be assigned (if not already assigned)

Comments

@shreya5653
Copy link
Contributor

Is this feature already requested?

  • I have checked "open" and "closed" issues, and this is not a duplicate.

Problem or Missing Functionality

The newsletter signup form currently lacks backend functionality, preventing users from receiving confirmation of their submissions and storing subscriber data. This can lead to confusion. By implementing this feature, we can enhance user experience with immediate feedback and ensure secure data storage. This will also help us manage our subscriber list effectively, eliminating duplicates and allowing for targeted communications in the future. Overall, these improvements will create a smoother and more engaging experience for users.

Feature Description

The newsletter signup functionality allows users to easily subscribe via a simple form that captures their email for secure storage in our database. This feature enhances engagement by providing instant confirmation of their subscription, fostering a stronger connection with our organization. Users benefit from immediate acknowledgment of their subscription and personalized communication through relevant updates, ultimately enriching their experience and strengthening our communication strategy.

Screenshots

No response

Would you like to work on this feature?

Yes

Implementation Plan

  1. Create a 'NewsletterSubscriber' entity and database table for emails.
  2. Develop a service to validate and store email subscriptions.
  3. Update the controller to process submissions and send confirmation messages.
@shreya5653 shreya5653 added the status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet) label Oct 12, 2024
@shreya5653
Copy link
Contributor Author

shreya5653 commented Oct 12, 2024

@ajaynegi45 @Guhapriya01 @tsu-ki I want to work on this issue please assign it to me and add labels.

@shreya5653
Copy link
Contributor Author

@ajaynegi45 Can you please assign me this issue

@Guhapriya01
Copy link
Collaborator

Guhapriya01 commented Oct 14, 2024

@shreya5653, thank you for your detailed proposal! It's clear that adding backend functionality for the newsletter signup is important for enhancing user engagement.

I'll assign this issue to you so we can move forward. Feel free to start working on it, and reach out if you have any questions.

Do you have a plan for handling the actual sending of newsletters after implementing the backend?

@Guhapriya01 Guhapriya01 added enhancement New feature or request hacktoberfest-accepted hacktoberfest status: ready for dev You can asked for this issue to be assigned (if not already assigned) gssoc GirlScript Summer Of Code gssoc-ext level3 GirlScript Summer Of Code - 35 points and removed status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet) labels Oct 14, 2024
@shreya5653
Copy link
Contributor Author

@Guhapriya01, thank you for assigning me this task!

I have a plan for adding the backend functionality. To handle the actual sending of emails there are a couple of approaches we can take:

1.Using third-party email services like SendGrid, Mailchimp, or Postmark, which offer easy APIs and built-in tools for tracking and scalability.
2.Using an SMTP server (such as Gmail SMTP or AWS SES) to send emails directly from our backend.
However, I’m still exploring these options and not entirely sure which one would be the best fit for our use case. I’d appreciate your input or any suggestions on which approach might align better with the project’s goals.

Currently I am focused on making the backend functional for newsletter subscription.

@Guhapriya01
Copy link
Collaborator

@shreya5653, go ahead with your plan! Both approaches you mentioned for sending emails are good options. We can discuss the email-sending methods after the backend functionality is completed.

If you need any help, please feel free to reach out to me!

@shreya5653
Copy link
Contributor Author

@Guhapriya01, Thank you! I’ll start implementing the backend functionality for the newsletter signup. Once that’s done, we can discuss the email-sending methods. I’ll reach out if I need any help!

@shreya5653
Copy link
Contributor Author

shreya5653 commented Oct 14, 2024

@Guhapriya01, since the signup option is available on every page, I plan to display the confirmation message on the same page without any redirection. Will this approach work for you?

I also wanted to ask if someone else will be working on the frontend. If not, I’m interested in taking it up since the footer code needs to be updated to align with my backend logic. In that case, I’d like to create a new issue for the frontend part.

Please let me know if that’s okay!

@Guhapriya01
Copy link
Collaborator

Guhapriya01 commented Oct 15, 2024

@shreya5653, displaying the confirmation message on the same page sounds good, and we can go with that. However, I noticed that Issue #90 related to the confirmation message in the frontend repo is already assigned to someone else. I’ll update you soon on how we can proceed. In the meantime, feel free to start implementing the backend!

@shreya5653
Copy link
Contributor Author

shreya5653 commented Oct 15, 2024

@shreya5653, displaying the confirmation message on the same page sounds good, and we can go with that. However, I noticed that Issue #90 related to the confirmation message in the frontend repo is already assigned to someone else. I’ll update you soon on how we can proceed. In the meantime, feel free to start implementing the backend!

@Guhapriya01, thank you for the update! I’ll proceed with implementing the backend as planned.

Please let me know if there are any changes. If there's any coordination needed to align the backend with the frontend work on Issue #90. I'd be happy to collaborate if required!

@shreya5653
Copy link
Contributor Author

@Guhapriya01,

I’ve implemented the backend for the newsletter signup feature, including the entity, service, controller, and repository layers. I tested the endpoints via Postman, and everything is working fine with confirmation messages displaying correctly.

Kindly review the PR and assign it to me.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc GirlScript Summer Of Code gssoc-ext hacktoberfest hacktoberfest-accepted level3 GirlScript Summer Of Code - 35 points status: ready for dev You can asked for this issue to be assigned (if not already assigned)
Projects
None yet
Development

No branches or pull requests

2 participants