ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข3y agoโ€ข
2 replies
Mike

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?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Account Email Best Practices / Backup
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Cloudflare Origin Certificates lifespan best practices
Cloudflare DevelopersCDCloudflare Developers / general-help
7mo ago
Best Practices for using Cloudflare API for Bulk Modifications
Cloudflare DevelopersCDCloudflare Developers / general-help
14mo ago
Best practices for large-scale R2 backup (โ‰ˆ250 TB, long-running)
Cloudflare DevelopersCDCloudflare Developers / general-help
2mo ago