-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fcb137d
commit 3e6af22
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/```. |