/codealive

Learn to code online

Primary LanguageTypeScriptGNU General Public License v2.0GPL-2.0

CodeAlive

An basic project (for now), that allows you to subscribe to a newsletter then receive a welcome email. It also allows you to send emails with npm run send-email. Be sure to edit the email .json files to customize the email.

config.json

{
  "port": 3000,
  "mongooseURI": "mongodb://localhost/CodeAlive",
  "email": {
    "host": "smtp.ethereal.email",
    "port": 587,
    "secure": false,
    "auth": {
      "user": "",
      "pass": ""
    }
  },
  "authorizedUsers": [28284250],
  "githubOAuth": {
    "clientId": "",
    "clientSecret": ""
  }
}

config.email.auth: email + password of email account You can make a test email account here.