
BackendOur Golang backend consists of two main services: the Reddit Post Fetcher and the email service. The Reddit Post Fetcher is reponsible for retrieving the hot posts for the unionized list of subreddits that our users have subscribed to. Leveraging the GPT API, we developed a service in Python that summarizes the posts from each subreddit to be used in the newsletters. Once the summaries are prepared, our email service crafts personalized emails tailored to each user and dispatches them accordingly. Inter-service communication is orchestrated through a Redis queue, ensuring seamless processing. The entire workflow is automated through a Cron job, guaranteeing timely delivery of newsletters to users' inboxes.