tRPC Alternative for Nuxt Application

preview_player
Показать описание
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.

💥 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
--------------------------

💥 Social Media
--------------------------

#typescripttutorial #nuxtjs #typescript #sqlite #sqlite3 #bettersqlite
Рекомендации по теме
Комментарии
Автор

Well done video! I appreciate that you kept it simple and layered just the right amount of functionality/complexity until complete. I will definitely check out this module. Looks promising!

nickzippity
Автор

Hi @AaronSaundersCI this is the tutorial I was looking quite some time. I was looking how call server functions without going through the api routes to get type safety and readability. I'm coming from the Salesforce LWC/Aura dev background and I have being using and learning Nuxt and I Iove Nxut.
None of the Youtube tutorials was talk about this feature, except you. I found this tutorial while I try to learn about understand the trcp and this is exactly what I want to learn about.
I think you should change the title/description of the video something different to make it more searchable.
Thanks a lot for the this Video and really appreciate for covering this topic.

prishanf
Автор

A nice video, always cool to see other ways of sovling a problem.

What is the feature you currently like the most in Nuxt?

And which feature would you like to see to be added?

I personnally like the auto imports the most about nuxt.

I would like to get an option to render stuf, like qwik. A kind of super lazy load system. Or even combined with an island type of system.

wertin
Автор

is it mean trpc can do a real time data?

yoskokleng