Skip to content

This backend is a GraphQL server for sending emails. Configure it with your SMTP server of choice and you're good to go !

License

Notifications You must be signed in to change notification settings

DroidZed/spring-mailer-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Mailer App

This app is my open source implementation of an SMTP server using Spring Boot and GraphQL.

Feel free to fork the project and use it as you like.

The credentials for the app are currently stored in a .env file for security reasons. You need to provide your own .env file or setup the environment on your deployment machine.

This project can also be used as a microservice, part of a bigger backend.

The included tests/ directory includes all the necessary unit tests needed to qualify the app.

Steps to installation:

  1. Clone the repo:
git clone github.com/DroidZed/spring-mailer-app.git
  1. Create your environment variables:
SMTP_HOST=
SMTP_PORT=
SMTP_USRNAME=
SMTP_PASSWORD=
TO= # Your domain's email
SERVER_PORT=
IMAGE_TAG_SPRING_MAILER_APP= # docker image tag
  1. build it:
make build
  1. Test the code:
make test
  1. Run the app:
mvn run

I have included the necessary files for Docker and Jenkins 😄

Happy coding!

About

This backend is a GraphQL server for sending emails. Configure it with your SMTP server of choice and you're good to go !

Topics

Resources

License

Stars

Watchers

Forks