This project is an API built using Java, Java Spring, AWS Simple Email Service.
The Microservice was developed for my Youtube Channel, to demonstrate how to solve the Uber Backend Challenge.
- Clone the repository:
git clone https://github.com/DiegoLeandro477/desafio-uol-java.git
- Install dependencies with Maven
./mvnw clean install
The database in configurated with H2DB
- Start the application with Maven
./mvnw spring-boot:run
- The API will be accessible at http://localhost:8080
The API provides the following endpoints:
GET USERS
GET /users - Get find All users.
POST USER
POST /users - POST user in database
BODY
{
"name": "exemple",
"email": "[email protected]",
"phoneNumber": "98999999999",
"legion": "VINGADORES",
}
Selected legoin: VINGADORES
or LIGADAJUSTICA