Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/droidzed/spring-mailer-app
This backend is a GraphQL server for sending emails. Configure it with your SMTP server of choice and you're good to go !
https://github.com/droidzed/spring-mailer-app
email-sender graphql java server smtp spring-boot
Last synced: 17 days ago
JSON representation
This backend is a GraphQL server for sending emails. Configure it with your SMTP server of choice and you're good to go !
- Host: GitHub
- URL: https://github.com/droidzed/spring-mailer-app
- Owner: DroidZed
- License: mit
- Created: 2021-07-25T10:06:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-03T15:39:52.000Z (about 1 year ago)
- Last Synced: 2024-10-10T06:54:35.231Z (28 days ago)
- Topics: email-sender, graphql, java, server, smtp, spring-boot
- Language: Java
- Homepage:
- Size: 760 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
## **_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:
```sh
git clone github.com/DroidZed/spring-mailer-app.git
```2. Create your environment variables:
```properties
SMTP_HOST=
SMTP_PORT=
SMTP_USRNAME=
SMTP_PASSWORD=
TO= # Your domain's email
SERVER_PORT=
IMAGE_TAG_SPRING_MAILER_APP= # docker image tag
```3. build it:
```sh
make build
```4. Test the code:
```sh
make test
```5. Run the app:
```sh
mvn run
```I have included the necessary files for Docker and Jenkins 😄
Happy coding!