Technical challenge. Spring Boot-based project to reimplement characters endpoints from Marvel API.
- /v1/public/characters
- /v1/public/characters/{characterId}
- /v1/public/characters/{characterId}/comics
- /v1/public/characters/{characterId}/events
- /v1/public/characters/{characterId}/series
- /v1/public/characters/{characterId}/stories
- Maven 3
- Java 11
- Lombok install on IDE Intellij IDEA / STS
- Clone repository
$ git clone https://github.com/EzequielHubertoSchuh/Character-API.git
- Build
$ mvn clean package
- Tests
$ mvn test
- Run
$ mvn spring-boot:run
-
API Documentation
Swagger interface to access the endpoints:
http://localhost:3000/swagger-ui.html
-
Accessing temporary database
Database instance will be automatically populated by data.sql file and it will be available after app successful initialization.
Server: http://localhost:3000/h2
Driver Class: org.h2.Driver
JDBC URL: jdbc:h2:mem:testdb
User Name: sa
Password: password