Skip to content

An exercise using Kotlin, DDD & Hexagonal architecture and a testing intensive approach

Notifications You must be signed in to change notification settings

fragonib/ddd-testing-kata

Repository files navigation

DDD & Testing strategy

You’re working in organization that fights fires in forest areas in a preventive way.

They manage several forest areas and want to use technology to improve their effectiveness.

The goal is to design some services that help to improve preparations before preventive works in the area itself.

Currently, they work on 3 specific areas:

- name: Calderona
  lat: 39.67
  lon: -0.43
  countryCode: ES
- name: Mariola
  lat: 38.72
  lon: -0.53
  countryCode: ES
- name: Penyagolosa
  lat: 40.23
  lon: -0.29
  countryCode: ES

To do

  1. We need an endpoint to know the weather data of all managed locations

    You can obtain the weather data from Open Weather Map API.

  2. Another one to tell us if the location is suitable to start working on it. They consider suitability depending on the weather. Good weather is needed and it’s defined by main field from openweathermap, when its value is equals Clear

  3. Organization is growing, so you need an API to manage new areas.

Goals

You should make focus on:

  • Hexagonal architecture

  • Domain Driven Design

  • Testing techniques

About

An exercise using Kotlin, DDD & Hexagonal architecture and a testing intensive approach

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published