Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 941 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 941 Bytes

FileTree

This is a simple Spring Boot application that provides endpoints to perform a recursive search for a given type of file.

Endpointns

/getunique Lists the distinct filenames recursively inside the root folder with the spcified extention.
/history Lists the logs about the previous requests and responses on the /getunique endpoint.
/gen Generates random filestructure recursively.
/doc Redirects to the generated javaDoc.

The application endpoints can also be tested via Swagger Ui
http://localhost:8081/swagger-ui/index.html

Requirements

  • Java 17 or above
  • Podman
  • Make

    Quick Setup

    git clone https://github.com/boringAdam/FileTree.git
    cd FileTree
    make run

    The application starts automaticly on two instances. Those can be accessed on port http://localhost:8081/ and http://localhost:8082/.