-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add guide to deploying a real-time app with ppg #6591
base: main
Are you sure you want to change the base?
Conversation
Dangerous URL checkAbsolute URLsThe following files have absolute URLs to prisma.io/docs. Please replace them with relative URLs. No local URLs found. |
Redirect checkThis PR probably requires the following redirects to be added to static/_redirects:
|
Deploying docs with Cloudflare Pages
|
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 20.6%, saving 70.43 KB.
168 images did not require optimisation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great guide 💯 a few notes (I added these as direct comments/suggestions as well but want to emphasize them as top-level feedback too):
- when you use "sub-steps", please prefix the step with the current "top-level" step (see my comments in sections 3, 4 and 5)
- please make sure to keep indentation of code blocks in lists at 2 or 4 spaces (two should normally be enough actually)
- the real-time functionality didn't work for me; I added a Loom video with a demo in a comment
content/800-guides/1200-prisma-postgres-realtime-on-cloudflare.mdx
Outdated
Show resolved
Hide resolved
content/800-guides/1200-prisma-postgres-realtime-on-cloudflare.mdx
Outdated
Show resolved
Hide resolved
content/800-guides/1200-prisma-postgres-realtime-on-cloudflare.mdx
Outdated
Show resolved
Hide resolved
content/800-guides/1200-prisma-postgres-realtime-on-cloudflare.mdx
Outdated
Show resolved
Hide resolved
content/800-guides/1200-prisma-postgres-realtime-on-cloudflare.mdx
Outdated
Show resolved
Hide resolved
content/800-guides/1200-prisma-postgres-realtime-on-cloudflare.mdx
Outdated
Show resolved
Hide resolved
Visit `https://localhost:8787` to see your app in action. You should see a form where, if you input data, the scatter plot updates in real time: | ||
|
||
![An demo of the app we built where a scatter plot updates in real-time](/img/guides/realtime-app-demo-ppg-cf-workers.gif) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't seem to get any real-time updates here... points get stored in the DB but nothing updates in real-time.
https://www.loom.com/share/917a08035f1743e0b202e2dea8ef924a?sid=d35278fe-6eb0-4255-916b-eff7fcf1d647
content/800-guides/1200-prisma-postgres-realtime-on-cloudflare.mdx
Outdated
Show resolved
Hide resolved
content/800-guides/1200-prisma-postgres-realtime-on-cloudflare.mdx
Outdated
Show resolved
Hide resolved
….mdx Co-authored-by: Nikolas <[email protected]>
….mdx Co-authored-by: Nikolas <[email protected]>
….mdx Co-authored-by: Nikolas <[email protected]>
….mdx Co-authored-by: Nikolas <[email protected]>
….mdx Co-authored-by: Nikolas <[email protected]>
….mdx Co-authored-by: Nikolas <[email protected]>
….mdx Co-authored-by: Nikolas <[email protected]>
….mdx Co-authored-by: Nikolas <[email protected]>
Closes DA-2265