tRPC Alternative for Nuxt Application



tRPC Alternative for Nuxt Application

tRPC Alternative for Nuxt Application

A tRPC Alternative for a Nuxt FullStack Typesafe Application
#nuxt #vue #trpc

Build a full-stack typescript nuxt application without the boilerplate code of tRPC using the nuxt-remote-fn module

we will build a simple nuxt application to save and retrieve data from a sqlite database through a typesafe server-side API.

💥 Sign Up For Our Newsletter​ – https://buff.ly/3lAk2jL

💥 Chapters
————————–
00:00 – introduction
02:08 – Project Setup
03:20 – Create and Test A Simple Remote Function
06:50 – More Complex Example
07:25 – Create SQLite Service For Database Interaction
08:18 – Create Remote Function to Add To Database
12:41 – Create Remote Function to Query Database
14:57 – Using useAsyncData when Querying Database on Client
17:55 – Getting Typed Results from Remote Function to Query Database
20:20 – Demonstrating Type safety of Remote Function to Add To Database
23:30 – Handling Error from Remote Functions
26:40 – Wrap Up

💥 Links
————————–
– Nuxt tRPC Video Series – https://www.youtube.com/watch?v=XX-4A4xkRB8
– blog – https://dev.to/aaronksaunders/full-stack-nuxt-typescript-app-without-trpc-3io7
– nuxt-remote-fn – https://github.com/wobsoriano/nuxt-remote-fn
– better-sqlite-3 – https://github.com/WiseLibs/better-sqlite3

💥 Social Media
————————–
Twitter – https://twitter.com/aaronksaunders
Facebook – https://www.facebook.com/ClearlyInnovativeInc
Instagram – https://www.instagram.com/aaronksaunders/
Dev.to – https://dev.to/aaronksaunders

#typescripttutorial #nuxtjs #typescript #sqlite #sqlite3 #bettersqlite

Comments are closed.