- Create a project which outputs and filters the information received by the Documents API via rest calls
- Create a project using
Java
orJava with Spring Boot
- Use the Documents API to the received and display (E.g. Console, Rest, ...) following information
Total number
of documents- Number of
deleted
documents Total size
of documentsAverage size
of documents
- Create a
filter
to search documents bycategory
- Describe in a
README.md
file how to run and test your service
- Filter by
category
Sort
by fields e.g.Name
,Type
,Size
,Deleted
Error Handling
e.g. Display message when the Documents API is not available- [...]
- Requires Docker
-
clone this repository
-
Create the docker image:
docker build -t europace/document-api .
-
Run the docker image:
docker run --rm -p 8080:8080 europace/document-api
-
Example request:
curl --location --request GET 'http://localhost:8080/v1/documents'