Skip to content

MaximeRebillard/agregio-test

Repository files navigation

agregio.technical-interview Project

About the project :

This project uses Quarkus v2.16.4

Launch

Docker-compose (postgres bdd)

=> see the configuration in application.yml

docker-compose up

Project

./gradlew quarkusDev

The http port is the default port 8080

Tests

./gradlew clean build

Interact with the api

Swagger Link

Payload

Create a park

{
  "name": "MyWIndFactory",
  "type": "WIND",
  "capacityList": [
    {
      "energyAmount": 30,
      "hours": 2
    }
  ]
}

Create an offer (matching the park above)

{
  "issuer": "string",
  "market": "PRIMARY",
  "blockList": [
    {
      "timeAmount": 1,
      "energyAmount": 30
    }
  ]
}

Schema

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages