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 - Getting Started
Part Two - • tRPC Nuxt - Part 2 - Adding Database
Part Three - • tRPC Nuxt Part 3 - Database Queries a...
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 - https://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 - https://trpc-nuxt.vercel.app/
- trpc - https://trpc.io/
- better-sqlite-3 - https://github.com/WiseLibs/better-sq...
SEE SOURCE CODE IN BLOG POST - https://dev.to/aaronksaunders/build-a...
💥 Social Media
--------------------------
Twitter - / aaronksaunders
Facebook - / clearlyinnovativeinc
Instagram - / aaronksaunders
Dev.to - https://dev.to/aaronksaunders