Movie API a concrete example for a CRUD GraalVM API

Movie API a concrete example for a CRUD GraalVM API

Posted by Xavier Bouclet on January 24, 2021 · 1 min read

Movie API a concrete example for a CRUD GraalVM API

To push forward my last article Which alternatives could be used to make an api with GraalVM, I am going to develop a CRUD Api to handle actors and movies.

To have some fun the Api will only be able to add the movies Kung Fury and Kung Fury 2. It will allow us to see some error handling.

Database model

To design the database, I use Vertabelo Data Modeler.

Database model

So as you can see, the API will interact with actors and movies. The hard part is the many to many relation between actors and movies.

Api contract

The Api contract is available here.

First implementation

The first implementation will be available in a couple of weeks.