DEV Community

Discussion on: How would you build a full stack Node.js web app today?

Collapse
 
markoa profile image
Marko Anastasov

How do you organize the serverless functions and frontend code in Git?

Collapse
 
thespiciestdev profile image
James Allen

A single repository with nestjs and angular folders, a shared folder with interfaces and other overlapping classes and from there the organization of new files and scripts would be made on a case-by-case basis (i.e. what's cross-cutting or application-specific.)

I'd organize serverless function code in the nestjs folder as they'd all likely just wrap the application in a cloud specific way (an AWS wrapper, an Azure wrapper, etc.) and have their respective build/deploy scripts there, too.

Thread Thread
 
markoa profile image
Marko Anastasov

Awesome, thank you for sharing!