Skip to content

Microservice built using Java, Spring Boot and AWS Simple Email Service for the Uber Email Service Backend Challenge

Notifications You must be signed in to change notification settings

danvinicius/email-service-uber-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

API built using Java, Java Spring and AWS Simple Email Service for the Uber Email Service Backend Challenge.
The aim of this project is to practice Java and Spring Framework with Clean Architecture concepts.

Java Spring AWS

E-mail service Uber challenge

🚧 Under development 🚧


Installation

  1. Clone the repository:
git clone https://github.com/danvinicius/email-service-uber-challenge.git
  1. Install dependencies with Maven

  2. Update application.properties puting your AWS Credentials

spring.application.name=email-service
server.port=8081

aws.region=us-east-1
aws.accessKeyId=1111111
aws.secretKey=111111

api.email.request.sourceEmail=your-source-email

Usage

  1. Start the application with Maven
  2. The API will be accessible at http://localhost:8081

Endpoints

1. Sends an e-mail to someone

Endpoint: POST /api/email

Request:

POST /api/email
Content-Type: application/json

{
    "to": "someone@mail.com",
    "subject": "subject of the e-mail",
    "body": "body of the e-mail"
}

Response:

E-mail sent successfully

Error:

An error may occur if AWS credentials are not valid.

Response:

Error while sending e-mail

Install GIT and Java on your computer.

About

Microservice built using Java, Spring Boot and AWS Simple Email Service for the Uber Email Service Backend Challenge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages