N
Neon17mo ago
passive-yellow

I know Front-end and trying to build a

I know Front-end and trying to build a webapp which uses postgres as backend, how to do I set up a Neon server for online postgres database? Neon gave me a long link I dont know where to paste it...Would appreciate if someone can help me with setting up the DB and taking it online, thanks!
10 Replies
fascinating-indigo
fascinating-indigo17mo ago
Hey! Are you familiar with how to interact with an API from the frontend? Because you basically need: 1. A deployed API while having the database URL set as a secret 2. Database client/ ORM to connect to the database
ratty-blush
ratty-blush17mo ago
no, I have no prior experience with APIs that is what im trying to learn through this Neon is 2. Database client? ig
fascinating-indigo
fascinating-indigo17mo ago
I recommend watching this video that I put together a while back https://www.youtube.com/watch?v=YNtwaUVtvh0
Neon
YouTube
Build a Serverless API (Cloudflare Workers, Drizzle ORM, Hono & Neon)
Final code: https://github.com/neondatabase/cloudflare-drizzle-neon In this video, you'll learn how to use Cloudflare Workers, Hono, Drizzle ORM, and Neon to build a serverless API. Instructor: https://twitter.com/thisismahmoud_ | https://www.linkedin.com/in/mahmoud-codes/ → Try Neon at https://neon.tech/youtube → Neon Discord: https://neon....
fascinating-indigo
fascinating-indigo17mo ago
It goes over building a simple API Feel free to reach out here on Discord if you run into any issues
fascinating-indigo
fascinating-indigo17mo ago
There's a blog post that goes a long with the video that will most likely be more up to date https://neon.tech/blog/api-cf-drizzle-neon
Neon
Build a serverless API using Cloudflare Workers, Drizzle ORM, and N...
In this guide, you will learn how to build and deploy a serverless API using Cloudflare Workers, Drizzle ORM, and Neon.
ratty-blush
ratty-blush17mo ago
ok tnx tysm
fascinating-indigo
fascinating-indigo17mo ago
No probelm!
ratty-blush
ratty-blush17mo ago
This is kind of hard to follow, seems advanced for a first-API tbh Will this work in Javascript too? If i copy paste every step
fascinating-indigo
fascinating-indigo17mo ago
Cloudflare Workers use JavaScript by default so you can follow along with this tutorial
ratty-blush
ratty-blush17mo ago
Ok tnx

Did you find this page helpful?