This service will allow upload images to the server using three different methods:
- multipart/form-data
- JSON with URLs
- JSON with Base64 encoded images
Also in this application you will find:
- graceful shutdown (tomcat server)
- creating preview images
- downloading images from the service
- service statistics
- a lot of tests
Technologies used:
- Java 8
- Spring Framework
- Lombok
- Memcached
- Redis
- Swagger
- Hibernate
- Liquibase
- PostgreSQL
- Docker
- MDC
- Install docker
- Install docker-compose
- Clone repository
- Inside app folder run: docker-compose up
- Run browser and go to http://localhost:60000
- Disable 'imageservice' in docker-compose.yml
- Run 'docker-compose up'
- Switch to 'dev' profile
- Now you can run tests. Some tests are integration tests and they refer to the database.