examples: use a shared Convex backend for StackBlitz - #2606
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 125fad5. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
|
Is there a nicer way to do this, e.g. a custom StackBlitz command maybe? I need to find where StackBlitz config is done. I see https://developer.stackblitz.com/platform/webcontainers/project-config, maybe a package.json field is cleaner here. |
3de3db2 to
c95c80d
Compare
|
Updated, no more wacky environment detection, just add a .stackblitzrc file. I'm not sure how to test this approach though so I'm not confident it works. |
|
The next thing to figure out is how to make this deploy with one click on Vercel. I think this should use the same approach: if you haven't actually closed this project, use the shared backend? |
Custom StackBlitz dev command that uses a shared backend. This makes https://tanstack.com/router/v1/docs/framework/react/examples/start-convex-trellaux usable.
Clear this shared table every 20 minutes.