I am planning to nextjs app on frontend and nestjs for backend inside NX monorepo using pnpm workspace.
I am confused how should I design the complete folder structure.
- Should I use package based repo?
- or Should I use integrated repo?
- or Should I use pnpm workspace and define the structure as "apps" and "libs" folder in
pnpm-workspace.yaml
and have both nextjs and nestjs app insideapp
folder?
Can anyone with some experience on the above tech stack can share your thoughts/inputs here