Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.01 KB

README.MD

File metadata and controls

54 lines (36 loc) · 1.01 KB

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!