izzager/photobook

Implement uploading photo

Closed this issue · 0 comments

It needs to create new service which checks if file exists on the local server.

Methods in PhotoService:

  • 1. Upload a photo from computer. The photo must be saved on the local computer with name that the user provides and random suffix

  • 2. Upload a photo by URL.

  • 3. Something using Quartz and uploading non-existent files to the server by URL.

Methods in controller:

  • 1. Upload photo from computer. Multipartfile

  • 2. Upload photo by URL.

NOTE: there is needed two profiles: dev with time trigger for 1 minute and prod with time trigger for 60 minutes