At IBM Think John Jardin and Paul Withers had a session, Tips and Tricks: Domino and JavaScript Development Master Class. It was great session about React, web sockets and Domino REST API.
At the end of this session I got an idea to provide a Cloudant REST API, with the same endpoints of the Domino API but storing everything in Cloudant or CoucheDb.
Cloudant REST API
I created an new module in the Git repo of this session and start coding. Which results in a Spring Boot application. All the endpoints of the Domino REST API are available in this new REST API.
I used Spring Boot to show the power to build fast new REST API’s. There is built-in support for Swagger.
The service can create on the fly databases and manage the access control of the database. And all the CRUD operations you would expect for the Todos
Run everywhere
With Spring boot you can run it everywhere. Out-of-the-box the application will run as runnable jar. But I also added support for Docker and Kubernetes.
There is also a manifest file present to push your application to any Cloud Foundry platform, like IBM Cloud or Pivotal Cloud Foundry.
Open source
The code is open source and part of the Git Repository used for this session. So you can reuse it or use it as a starting point for something new. Have fun with the code.
Engage
Paul Withers will do a rerun of the IBM Think Session at Engage later this month in Rotterdam. I think a must attend session if you want to learn some cool new technologies.
BTW I will also be presenting at Engage, my session on Tuesday at 17:00 in the Sky Room. I will talk about Spring Boot and Thymeleaf