Skip to content

A hero battle api developed to be used in TechTalks handson

Notifications You must be signed in to change notification settings

vinifig/hero-battle

Repository files navigation

Hero's Battle

A Rest API developed as example for a Tech Talk

This is a base application, created using Spring Initializr and with the base configuration defined

Challenge

Create an Rest API that you could:

  • Create and find a hero with name and skills(name, power)
  • Create a hero battle with winner hero, loser hero, timestamp
    • The winner hero is the one with greater power, the sum of all skills power

You could use this repository as base to develop the application. Here, we already have developed the Hero endpoints

Proposal of Domain:

domain proposal

Requirements

  • Intellij IDEA
  • Docker

Running

Start the docker-compose running this command in:

/path/to/project  docker-compose up -d

Challenge Steps

Study's recommendations

  • DDD
  • Rest API
  • Unit Tests
  • Integration Tests

About

A hero battle api developed to be used in TechTalks handson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages