Simple API to create and find users. Just to put in practice clean architecture.
- Kotlin
- Spring
- Docker
- Mongo
curl --location --request POST 'http://localhost:8080/users/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Some Name"
}'
{
"uuid": "1626ccf7-c280-4094-9798-861f82422dc8",
"name": "Some Name"
}
curl --location --request GET 'http://localhost:8080/users/1626ccf7-c280-4094-9798-861f82422dc8'
{
"uuid": "1626ccf7-c280-4094-9798-861f82422dc8",
"name": "Some Name"
}
- Docker and Docker Compose
Runs both the application and Mongo
docker-compose up --build
- Error handling
- More test scenarios
- Controller tests
- Integration tests
- CI
- Cache
- Implement all CRUD operations