Skip to content

Spring Boot-based project to reimplement characters endpoints from Marvel API.

Notifications You must be signed in to change notification settings

alinesoarestome/marvel-backend-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marvel Backend Challenge

Technical challenge submitted to Dextra. 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

Build Status codecov

Prerequisites

How to use?

  • Clone repository
$ git clone https://github.com/alinesoarestome/marvel-backend-challenge.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