architecture best practices

hey 👋 I have a project I want to build that will use Pages for the the site and a worker (Graphql) for the API. Ideally I would colocate everything into a single repo, but I'm guessing I don't want my GQL code to get deployed to pages and the site code to deployed to the worker? Should I be using something like nx or lerna to treat the project as a monorepo and only deploy relevant parts or is there another/better way?
2 Replies
Martijn
Martijn•14mo ago
I'm not familiar with GQL, but are Pages not up for the task? They are basically workers as far as I understand.
Mike
MikeOP•13mo ago
Thank you both
Want results from more Discord servers?
Add your server