Sign inSign up

droidzed/spring-mailer-app

By droidzed

•Updated almost 3 years ago

Spring Mailer Application backend using GraphQL and JavaMailer.

Image
0

67

droidzed/spring-mailer-app repository overview

⁠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!

Tag summary

Content type

Image

Digest

sha256:95b2da436…

Size

171.9 MB

Last updated

almost 3 years ago

docker pull droidzed/spring-mailer-app:2.0.0