Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.

xirc/micronaut-bookman

Repository files navigation

Book Service Example

CircleCI

Technical spec

Development Environment

  • Kubernates
  • Skaffold

How to run

minikube start
skaffold dev -p local --port-forward

You can access

API Endpoints

Here are API Endpoints.

GET    /books
POST   /books
GET    /books/{id}
PATCH  /books/{id}
DELETE /books/{id}

GET    /persons
POST   /persons
GET    /persons/{id}
PATCH  /persons/{id}
DELETE /persons/{id}

GET /books/search
GET /persons/search

Files example/*.http contains example requests.
I use REST Client https://marketplace.visualstudio.com/items?itemName=humao.rest-client

micronaut-openapi generates swagger spec files.
But, I want to write swagger spec, and then generate code!

Note & TODO

  • Set MySQL TimeZone to UTC.
  • Search implementations are awful...
    Use other solutions such as Elasticsearch in production.
  • DB migration can be more cool imo.
  • Cache Layer is not used now.
  • Can I merge ***UseCase classes???
  • Use BINARY(16) instead of VARCHAR(36) for UUID. it's mistake.

Releases

No releases published

Packages

No packages published

Languages