lukashornych / evitalab

Official web-based GUI client for evitaDB e-commerce database. It is built to help developers who use evitaDB with exploring and debugging their domain structure and data. Besides standard query executing, it also supports multiple no-code tools to quickly navigate through domain structure, docs and data without needing to write any queries.
https://github.com/lukashornych/evitalab
Apache License 2.0
7 stars 1 forks source link

Replace custom lab REST API core with gRPC-web API #140

Open lukashornych opened 1 week ago

lukashornych commented 1 week ago

If evitaDB will support gRPC-web API (through Armeria library), we can ditch the custom REST API for evitaLab in evitaDB as well as in evitaLab itself and replace it with the general purpose gRPC API that is built for these tools.

This would mean to:

lukashornych commented 3 days ago

I've managed to create tech demo on top of the Armeria server in evitaDB server. We will probably use the connect-web library as it seems to be the go to library for grpc-web and typescript. The tech demo is in branch 140-connect-web-lib-tech-demo in commit 8cc7fb96c7d3ddf9fdffd8fda4ad88358ff3178a.

The typescript intelli sense for the generated code is not the best on my computer but i think it will be usable, we will have model abstraction in place anyway.