Version: 0.9.1
Author : Kouji Nakashima / kuc-arc-f.com
date : 2021/12/30
update :
Apollo Server + mongoDB , mail send sample
- config.ts : MONGODB_URL ,MONGODB_DB_NAME set require
mongoDB atlas , user, password, cluster , host, dbName
MONGODB_URL: 'mongodb+srv://user123:<pass123>@cluster999.sample123.net/test',
MONGODB_DB_NAME: 'test',
- smtp
SMTP_HOST, PORT, USER, PASSWORD, from mail ADDRESS
SMTP_HOST : "host123.example.com",
SMTP_PORT : 465,
SMTP_SECURE : true,
SMTP_AUTH_USER : "user123",
SMTP_AUTH_PASS : "123",
SEND_MAIL_ADDRESS : "from123@example.com"
npm install
- dev-start
yarn dev
- start
yarn build
yarn start
https://zenn.dev/knaka0209/articles/bd747d4d8e7d3a