/todo-api

Todo reactive API

Primary LanguageKotlinApache License 2.0Apache-2.0

TODO API

  • API Backend reactive restful to create todo items.

  • Project uses Java 15+, Kotlin, springboot, webflux, r2dbc, actuator, springdoc, mapstruct, H2.

  • Based on Gradle dependency model.

Index

API configuration

Local run

  • Run gradle command in the terminal on project root folder:
    ./gradlew bootRunLocal

Docker

  • Install Docker -> https://docs.docker.com/engine/install/

  • Run command in the terminal on project root folder to build image from project Dockerfile:

    docker build -t todo-api .
  • Then start a Docker container with:

    docker run --name todo-api -p 8081:8081 todo-api:latest

API location