Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ososuna/email-api
✉️ Email API with Java Spring
https://github.com/ososuna/email-api
docker java maven smtp spring
Last synced: 3 days ago
JSON representation
✉️ Email API with Java Spring
- Host: GitHub
- URL: https://github.com/ososuna/email-api
- Owner: ososuna
- Created: 2022-11-17T02:45:40.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-19T04:44:27.000Z (about 2 years ago)
- Last Synced: 2024-04-23T20:28:00.635Z (9 months ago)
- Topics: docker, java, maven, smtp, spring
- Language: Java
- Homepage: https://thenewpiedpiper.com/
- Size: 145 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Email API
✉️ Email API with Java Spring# Email APP
This API is consumed by the Email APP. You can find the Email APP here:
https://github.com/ososuna/email-app.git## Requirements
For building and running the application you need:- [JDK 11.0](https://www.oracle.com/mx/java/technologies/javase/jdk11-archive-downloads.html)
- [Maven 3](https://maven.apache.org)
## Running the application locallyThere are several ways to run a Spring Boot application on your local machine. One way is to execute the `main` method in the `dev.ososuna.email.EmailApplication` class from your IDE.
Alternatively you can use the [Spring Boot Maven plugin](https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-maven-plugin.html) like so:
```shell
mvn spring-boot:run
```
## Try it out with DockerFirst, build the application:
```shell
mvn package
```Then you need to build the Docker image:
```shell
docker build -t email-api .
```
Now you can run the image:
```shell
docker run --name email-api -p 3001:3001 email-api
```## Architecture Diagram