How to Separate modules for Different functionalities. and dockerize server file


Index.js (1 file)

I want to add different files for Authentication, Data management, Matchmaking etc…


Nakama doesn’t impose restrictions on the structure of your project - it only requires an entrypoint file. I’d recommend using Typescript packaged as mutiple .ts files and compile it into a JS bundle that is then used as the entire module as well as the entrypoint.