How to use Node.js together with Motoko?

Hello, guys. In my test I use node to handle different APIs and other basic stuff not related to decentralisation. But obviously I want to use Motoko to handle stuff that should be decentrilized
Can you give me some code instances/ github repos, so I can learn how to “mix” these 2 different concepts