tRPC Nuxt - Part 2 - Adding Database
HTML-код
- Опубликовано: 26 июн 2024
- Getting Started with tRPC Nuxt Part 2 - Adding Database - Build A Full-Stack Typescript Application
#tRPC #nuxt #vuejs
tRPC - Move Fast and Break Nothing. End-to-end typesafe APIs made easy. Experience the full power of TypeScript inference to boost productivity for your NUXT full-stack application.
💥 This is the second video in the series
----------------------------------------------------------------
Part One - • tRPC Nuxt - Part 1 - G...
Part Two - • tRPC Nuxt - Part 2 - A...
Part Three - • tRPC Nuxt Part 3 - Dat...
In this video, we are separating routers and adding SQLite, Better SQLite 3, Database to the application to show access to context and simple querying.
💥 Sign Up For Our Newsletter - buff.ly/3lAk2jL
💥 Chapters
--------------------------
00:00 - Introduction
00:20 - Separating Routers
05:42 - Add Database To Context
06:50 - Install Better SQLite and Setup Database Table
08:55 - See Database In Route/Query Context
09:30 - Create Route/Endpoint For Adding Thought to Database
18:40 - Fix Error on How I was Importing better-sqlite3
20:42 - Create Route/Endpoint For Listing Thoughts From Database
23:30 - Wrap Up / What's Next
💥 Links
--------------------------
- trpc-nuxt - trpc-nuxt.vercel.app/
- trpc - trpc.io/
- better-sqlite-3 - github.com/WiseLibs/better-sq...
SEE SOURCE CODE IN BLOG POST - dev.to/aaronksaunders/build-a...
💥 Social Media
--------------------------
Twitter - / aaronksaunders
Facebook - / clearlyinnovativeinc
Instagram - / aaronksaunders
Dev.to - dev.to/aaronksaunders
nice dude
Thanks for the visit
*SEE SOURCE CODE IN BLOG POST* - dev.to/aaronksaunders/build-a-full-stack-typescript-application-with-nuxt-and-trpc-4kdd