Next.js Discord

Discord Forum

Need help architecture design

Unanswered
North Pacific hake posted this in #help-forum
Open in Discord
North Pacific hakeOP
hey all, i'm anuj. new here.
i'm building a software project like lovable which should be able to code and build nodejs/nextjs/hono/react etc apps and deploy them.

im confused on the architecture design.

where do i store the generated repository? and where do I deploy it.

For repository options:

1. use my own github organization to store private repos for users, and they have option to transfer it to their later.
2. just store it in gcs/s3 and snapshots of changes in database. (somehow tryng to recreate a minimal version of git)

For deployment:
1. Deploy on user's or my own vercel/netlify
2. Deploy on cloud run.

my concerns are
1. github will reach api limit easily with multiple users.
2. asking users to connect github, vercel/netlify upfront is a bad onboarding.

wdyt? seeking opinions and suggestions

0 Replies