Skip to content

Simple REST API application to get list of images from ftp server and get image by address.

Notifications You must be signed in to change notification settings

Oywayten/remote_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote Viewer

- simple REST API application to get list of images from ftp server and get image by address.

About the application

  • The application has four layers: Model, Controller, Service, Persistence, Configuration;
  • When accessing endpoint "/photos", it connects via FTP to the server and searches for files with the specified prefix (e.g. “GRP327_…”) from certain folders. As a result of the execution, it displays a list of found files with their full paths. The prefix and name of the search folders are specified in the application.properties file.
  • There is also an endpoint that allows you to get the image itself, e.g. /photo?path=/Users/Test/Фотозона/фотографии/GRP327_test.jpg
  • The application provides caching of requested images. The caching folder is specified in the application.properties file.

Technology stack:

+ Java 17,
+ Spring boot 2,
+ Maven 4,
+ Apache Commons Net 3.6.

Build the project and run the application

mvn spring-boot:run

Contacts

About

Simple REST API application to get list of images from ftp server and get image by address.

Resources

Stars

Watchers

Forks

Languages