tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

240 - How to deploy on local

Open SzymonLeja opened this issue 11 months ago • 5 comments

Hello, I'd like to test gRPC vs REST vs GraphQL on local env. I wanted to extend this comparision to WebSockets, Server-Sent Events and Event-Driven Architecture. I tried minicube locally but I cant get it through, any video I should watch to make it work?

SzymonLeja avatar Feb 06 '25 16:02 SzymonLeja

The easiest way is to use Minikube locally and deploy these applications using the 'deploy' folder, just adjust the resource block or simply remove it.

antonputra avatar Feb 06 '25 19:02 antonputra

The easiest way is to use Minikube locally

Docker Desktop also includes support for Kubernetes. It would be great to have instructions on how to run tutorials locally.

stan-kondrat avatar Feb 10 '25 21:02 stan-kondrat

@antonputra is there code for testers? As far i understand they are only on ur repo on quay.io, yes? Or I am missing something?

I'd like to test it locally, but I need to write another tester fe. for websockets, also DB schema is not there, only connection to ur PGDB?

SzymonLeja avatar Feb 11 '25 14:02 SzymonLeja

well you can just use a loop and query those apis, db schema? well i have for other tests - https://github.com/antonputra/tutorials/tree/main/lessons/244/migration

antonputra avatar Feb 11 '25 15:02 antonputra

But the tester for REST wont work for websockets, I'm right?

It seems its hard to extend this comparision for other methods like kafka/websockets/etc. without access to code of testers, but maybe I'm missing something

SzymonLeja avatar Feb 15 '25 17:02 SzymonLeja