Coder Social home page Coder Social logo

droidzed / spring-mailer-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 778 KB

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

License: MIT License

Java 53.97% HTML 23.98% CSS 17.11% Dockerfile 3.34% Makefile 1.61%
graphql smtp server spring-boot java email-sender

spring-mailer-app's Introduction

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!

spring-mailer-app's People

Contributors

droidzed avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.