Add clean architecture :
- data -> models / converters / services / sources
- domain -> entities / errors / services / usecases
- presentation -> controllers / errors / handlers
This endpoint /users/random
Use retrofit for call this API : https://randomuser.me/api/?results=500
Retrofit in pom.xml :
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-gson</artifactId>
<version>2.9.0</version>
</dependency>
Save the results in database.
Add documentation in :
- Github project
- Bookstack
- README for the task
Add clean architecture :
This endpoint /users/random
Use retrofit for call this API : https://randomuser.me/api/?results=500
Retrofit in pom.xml :
Save the results in database.
Add documentation in :