Skip to content

Commit

Permalink
added email servicer AR
Browse files Browse the repository at this point in the history
  • Loading branch information
bryngo committed Sep 3, 2018
1 parent 40dd59d commit ee080d6
Show file tree
Hide file tree
Showing 617 changed files with 124,933 additions and 23,230 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ public/js/super_secret.js
*.xml
.idea
*.swp
playground
13 changes: 9 additions & 4 deletions ARs/applePayReminder.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ through Google Sheets (which I hate navigating to).
- Each entry will be of the form
```JSON
{
name: <STRING>
month: <INT>
daysLate: <INT>
paid: <BOOL>
name: "Alice",
month: 0,
daysLate: 2,
paid: false
}
```
- `name`: STRING
- `month`: INT (with values 0-11)
- `datsLate`: INT
- `paid`: BOOL

2) Set up a cron that populates `apple_pay_records` with X entries for month Y
at the beginning of each month.
Each entry will correspond to a user. For now, there won't be any entries
Expand Down
19 changes: 19 additions & 0 deletions ARs/emailServicer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Architecture Review: Email Servicer
## Goal
I've always wanted my own domain. And I got one (`bryngo.me`). I've always wanted to send emails from said domain, and now it's time to do just that.

Another motivation for doing this is I want to use the node module `nodemailer` to send out emails. Of course, I can just do this with my gmail, but Google doesn't play nice with such 3rd party services.

## Steps
1. Follow [this guide](https://www.digitalocean.com/community/tutorials/how-to-run-your-own-mail-server-with-mail-in-a-box-on-ubuntu-14-04)
to figure out how to send emails from my server domain.
2. Install `nodemailer`
3. Done?

## Testing
1. After setting up the mail server, I'll manually send emails to myself.
2. Once I can verify the mail server work, I can look into connecting it
to the code.
- I can do this by just running the script found [here](https://www.w3schools.com/nodejs/nodejs_email.asp).
## Misc
- This AR isn't really an AR, honestly. It's just some documentation on what I'm doing to my server in case I need reference to it one day.
295 changes: 0 additions & 295 deletions node_modules/.bin/jade

This file was deleted.

1 change: 1 addition & 0 deletions node_modules/.bin/jade

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions node_modules/.bin/mime

This file was deleted.

1 change: 1 addition & 0 deletions node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ee080d6

Please sign in to comment.