Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
boringAdam authored Apr 24, 2024
1 parent fcb137d commit 3e6af22
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# FileTree

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

## Endpointns

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

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

## Requirements

<li>Java 17 or above
<li>Podman
<li>Make

## Quick Setup

```bash
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/```.

0 comments on commit 3e6af22

Please sign in to comment.