Fandango is a Micronaut-based microservice providing a REST API that allows to store and recover images (jpeg, jpg, png) or documents like PDF, and also allowing to generate thumbnails, modify and retrieve images, using a NoSQL database storage via HTTP-based API.
- Uncouple the image or documents storage management from the rest of any application.
- Improve efficiency and simplicity when dealing with images or documents.
- Micro Service Architecture oriented using Micronaut framework
- Transform images on-demand for multiple resolutions/devices.
Fandango need a MongoDB installed instance in the host machine to store the image and files.
You can clone the project and generate your own jar :
./gradlew shadowJar
Or you can use the provided docker image with your mongodb database :
$ docker pull vettonum/fandango
$ docker run --net host vettonum/fandango
Or you can use the provided docker-compose with the mongodb image included :
$ docker-compose build
$ docker-compose up
Services | Location |
---|---|
Web | ip:port/ |
API endpoint | ip:port/api |
Swagger-UI | ip:port/swagger-ui |
Ricardo
[email protected]
License: GPL-2.0