Authentication

Authentication

This weekend I added the REST API for authentication.

I’m able to login using the web based Game Studio.

I’ve also switched over to using gin for routing and REST API middleware.

I didn’t like it at first, but it came highly recommended. Now that I’ve been using it then I’ve started to like it.

NATS and gRPC

I’ve refactored the backend micro services so that the handlers and proxies are located under NATS or gRPC folders; this cleaned up the project directory structure a lot.

The implementation of each service remained the same, which is a sign of a good design.

With this refactor I’ve completed the implementation of the few handlers and proxies that I had already implemented in gRPC and implemented them for NATS.

At this point I’m not sure if I will continue using gRCP.

NATS.io is unbelievably flexible and I’m fairly convinced that it will suit all of my needs for a service bus and message broker.