This project is a simplified reproduction of Marvel's API using Spring Data Rest concepts. This POC demonstrate that is possible write a complete API without using boilerplate code; taking advantage of massive abstraction provided by SDR.
For test purposes, H2 database is configured to run on memory and there is a script to insert some initial data in DB while the app is starting.
-
Clone this repo
-
In a terminal window, browse into the project root directory and run the following command:
./mvnw spring-boot:run
This script will compile the project, download all necessary dependecies and start the application.
After the steps above the app is able to listen for requests. Using any REST client, call for http://localhost:8080/v1/public.