Open josh-chamberlain opened 10 months ago
Hello Josh, I am new to the project and saw this under good first issue. Can I contribute to this task?
Hi there @aaryauchamkeri ! Yes, that would be much appreciated. I tweaked the issue to contain more detail and I'm going to cc @maxachis to answer a couple questions:
@josh-chamberlain @aaryauchamkeri
Yes, I believe this can get started now! There are a few components to this as I envision it:
data-sources
endpoint to be able to get the requisite information on desired filters (we decided to accomplish this by paginating the endpoint + allowing users to sort by newest: https://github.com/Police-Data-Accessibility-Project/data-sources-app/issues/419)@aaryauchamkeri and I can chit-chat in discord about setting them up with an API key (I can be found as PDAP Staff with a fun little goose as my profile picture). I can also happily chat with them about the finer details of the task.
Can this live in the main app repo? If so, where should it go? I assume since it's so small that's simplest.
We can place this within the main app repo now for ease of development, although I think over time we'd want to migrate it to a repo devoted to automated components, just to separate concerns. We can also skip the first part and just go straight to putting it in a separate repo!
Context
We have mailgun set up for the password reset workflow. We should use that to make a monthly email to anyone who chooses to subscribe. The logic should be to use all data sources from the API that are edited within the last month, but in the future we will have parameters—for example, people can subscribe to updates for a specific search of data sources.
Requirements
SECRET_KEY
for the API key andMAILGUN_KEY
for Mailgun.Email Contents
Email Recipients
operations@pdap.io
Email Frequency
Monthly, on the first at 12pm (noon) ET.