I am currently building a serverless app that is a complete sync integration between 2 web apps, I am using the serverless architecture in order to listen for events that happen on the Freshdesk and interact with the external apps API.
I am utilising almost all of the Product Events and my Server file is HORRIBLE!!! ultra confusing and very very long.
I want to decouple my code into separate files for obvious reasons. But, for some reason i am unable to Require other files, and i am also unable to import and export.
Does anyone have a solution for this or an example base that has code that is split? Its flairing up the OCD