Is it what you need to do to write native extensions for Node.js? In that case https://nodejs.org/api/addons.html might get you started. Would there be a particular reason for a C implementation though?
We are already using that. however the intention is just to familiarize myself with the C ecosystem like build systems, frameworks, database integrations, web application frameworks (if there any), exactly like java has maven,spring,tomcat,jboss etc.