Spliting gateway service

Hi fellow developers,
I’m using nameko for the first time and I’m really impressed by it’s simplicity and philosophy behind it. I come from Node and java background.

I need your suggestion on how to split gateway service module to multiple sub module(preferably based on service it calls), right now all the endpoints public and private, are inside the service module in gateway service which is becoming a mess. So, I was thinking what is the best way to separate them out like we do routes in express or separate controller class in springboot.

Not that its blocking anything, I just want better code structuing!
I wanna see how others do this in their projects.

Thanks in advance

Nameko service classes are just Python classes, and you can compose them however you like.

There’s a thread on that here: Entrypoints in seperate file?