This project provides a RESTful API built with Java Spring Boot, MongoDB, and Docker.
The API allow you to parse information from a file add it to the database, as well as retrieve it from the database with filters and sorting.
- Java
- Spring Boot
- MongoDB
- Docker
- OpenAPI (Swagger)
- Clone the repository to your local machine using the following command:
git clone https://github.com/Dementris/TestTask.git- Build the Docker image:
cd project-name
docker-compose build-
Build the project using Maven.
-
Start the Docker containers:
docker-compose up -d
- Run the application and access it in your web browser by navigating to http://localhost:8080.
- GET / - Retrieves a list of animals
- POST /file/upload - Upload new animals from csv or xml files.