It is implemented with Java Spring boot
- JRE 11 or higer version
- download restApiDemo.jar
- run following command
java -jar demo.jar
- It will automatically create a
uploadsfolder and store files there.
- If you want to run with Docker, install
Docker EngineandDocker Composefirst. In Windows and MAC, there isDocker Desktopto make things visual.
- Before starting, make sure you CLI is in the root folder of this project.
- Use following command to build docker image, at the mean time you are building java program.
docker build -t restdemo .
- Then you can run generated image with Docker Compose.
docker-compose up -d