This project consists of two endpoints, one for creating user and another one is creating address and assign it to user.
- User API
- Address API
POST /users - creates new user
GET /users/:userId - gets user with given id
POST /users/:userId/address - creates address for given user
- Java 11
- Spring Boot
- Spring Data JPA
- Kotlin 1.5.0
- Restful API
- H2 In memory database
- Docker
- Docker compose
- Maven
- Docker
$ cd demo
$ docker-compose up -d
Application Port is 8082