Vercel just added serverless Postgres SQL to their platform. This video I make a Postgres CRUD app with SvelteKit and Vercel! I focus on the interactions with postgres. There is one route for data operation. I had fun building this and I hope you find it helpful. Check it out and have fun!
My channel membership is live check it out here!:
https://www.youtube.com/channel/UCwPrPv9eS7Xgfp_wi7uxt0g/join
Vercel's New Database Integrations Page:
https://vercel.com/integrations#databases
Need help? visit https://www.consultingninja.tech
Check out my channel @ConsultingNinja for more videos like these.
**To make Postgres handle Id's you must specify what fields you are populating and the command looks like this**
INSERT INTO registeredusers (firstname, lastname, email, password) VALUES (${user.firstname}, ${user.lastname}, ${user.email}, ${user.password})
Source Code Available Here:
https://github.com/consultingninja/vercelPostgres
00:00 - Intro
01:45 - Setup
02:24 - Vercel Config
03:32 - Create Route Setup
04:37 - Create Route Action
16:05 - Read Route Setup
17:01 - Read Route Action
19:00 - Update Route Setup
19:34 - Update Route Action
23:56 - Delete Route Setup
25:09 - Delet Route Action
Download
0 formats
No download links available.
POSTGRES CRUD with Vercel / SvelteKit , basic data operations with Vercels new serverless db! | NatokHD