N
Neon2y ago
metropolitan-bronze

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
conscious-sapphire
conscious-sapphire2y 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
flat-fuchsia
flat-fuchsia2y ago
no, I have no prior experience with APIs that is what im trying to learn through this Neon is 2. Database client? ig
conscious-sapphire
conscious-sapphire2y 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....
conscious-sapphire
conscious-sapphire2y ago
It goes over building a simple API Feel free to reach out here on Discord if you run into any issues
conscious-sapphire
conscious-sapphire2y 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.
flat-fuchsia
flat-fuchsia2y ago
ok tnx tysm
conscious-sapphire
conscious-sapphire2y ago
No probelm!
flat-fuchsia
flat-fuchsia2y 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
conscious-sapphire
conscious-sapphire2y ago
Cloudflare Workers use JavaScript by default so you can follow along with this tutorial
flat-fuchsia
flat-fuchsia2y ago
Ok tnx

Did you find this page helpful?