A Service built using django and drf that allows you to send emails via the api endpoint it exposes.
Built as practice to learn more about dockerisation and DRF.
curl --request POST \
--url https://sheltered-atoll-07813.herokuapp.com/user-token/ \
--header 'content-type: application/json' \
--data '{"username": "sample username"}'
curl --request GET \
--url https://sheltered-atoll-07813.herokuapp.com/email/emails \
--header 'accept: application/json' \
--header 'content-type: application/json'
curl --request POST \
--url https://sheltered-atoll-07813.herokuapp.com/email/send \
--header 'Authorization: Token <authentication_token>' \
--header 'content-type: application/json' \
--data '{"message": body, "subject": subject, "recepient": recepient_email}'