Skip to content

A golang based server written to communicate with sendgrid.

Notifications You must be signed in to change notification settings

Ignitus/Ignitus-mailing-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ignitus mailing microservice 🎯

Scalable mailing utility.

API

Endpoint Method Request Body Response Additional
/mail/confirmation POST {
"recipientAddress": string,
"verificationLink": string,
"recipientUserName": string
}
{ "error": bool,
"data": string,
}
Use it to send verification email to user. Accepts request only from: ignitusrestapi.herokuapp.com

.env

- SENDGRID_API_KEY
- ACCEPTED_HOST - (set localhost:8000 for local environment)
- FROM_EMAIL