today(Jan. 2025) when i am following this tutorial, following same steps. I found the folder and file structure is changed. like these is no "pages>api" folder.
@abdullahclementabdulshekur67367 күн бұрын
after building a microservices application using expressjs, I recently started playing with fastify and I ask myself, why didn't I use it for my microsevices. Had to implement a lot of things myself when Fastify already comes with those things setup. This video is really good. I see that you are using the modular monolith which is very good, especially when your application is not serving millions of users. No need to start with microservice when you can use modular monolith
@deltacoder32917 күн бұрын
Great!❤❤❤
@AleksandrRasskazov8 күн бұрын
Very nice, Thanks!
@anze24558 күн бұрын
Using fmt.Sprintf for database queries is not recommended and is a security vulnerability, read that on the golang docs page the other day.
@mrhallodri_9 күн бұрын
The auth folder is gone?
@DebuggingwithKTiPs9 күн бұрын
I started my channel 5 days ago 😅. Wish me good luck pls ❤
@hansmartinhanken48511 күн бұрын
They have caused me a lot of headache. Curious what you mean about them not reducing the amount of imports though?
@pattobrien522812 күн бұрын
8:18 I'm not sure why you said its usually a good idea to return an empty User value; is that because idiomatic Go recommends returning a "User not found" error, which should then be checked by the caller? otherwise, the caller may proceed, thinking that it received a valid User value.
@TomDoesTech12 күн бұрын
@@pattobrien5228 I don’t remember exactly but it’s probably so you don’t have to return a pointer to a user
@TheGravyMonster14 күн бұрын
To anyone wondering why you're getting ESLint errors in VSCode around the route definitions, it's due to the use of 'return res.send(...)'. Remove the 'return' keyword changing the response type affecting the expected signature of the route handler. Just use 'res.send(...)' instead.
@Dev-f8y15 күн бұрын
omg i needed this finally im coming back to node but with ts this time thx bro keep it up jjj
@emmyrichy51517 күн бұрын
Having issues deploying on railway using the docker compose file. Would appreciate a walk through
@nnaemekaish00717 күн бұрын
I guess we would need to use something like Vault to handle environment variables to avoid pushing it to github along with our repo files.
@manoharpenta490617 күн бұрын
Before watching this video I thought Passport was a headache, man i was wrong. Now I understand how passport made lives of developers easier.
@98f517 күн бұрын
Mongoose is a shit bloated library. I find myself removing it from packages i work on and writing my own implementations with the base mongodb driver. Maybe this will help me thanks
@elinaoikonomou38118 күн бұрын
Thank you, that's useful. How would you handle a case where the end client makes a booking to a platform for a service, the platform collects the payment, and the platform does the payout to the service provider when the service is delivered? Is this something that can be done with Stripe connect?
@Francois3k18 күн бұрын
Ohhh wow that how you do the dashboard. Your a pro pro thanks for the share, is there a github for this
@prashlovessamosa18 күн бұрын
this is so beautifully crafted video thanks for sharing
@tejasgokani18 күн бұрын
I am new to TS, interviewer asked me, I wasn't knowing Utility, But now everything is clear, Kudos to you champ .
@maxkabechani18 күн бұрын
Great video, as always. Love Fastify. Would be cool if we got a video on how you consume the APIs in the frontend like Next.js especially session auth
@arjunsajeev529419 күн бұрын
Nice video! Which VSCode theme are you using?
@semperfiArs19 күн бұрын
Thanks a lot for the efforts and a well explained video but would have been really good if this was made and explained from scratch so it's helpful to even beginners
@OCEMTechZone20 күн бұрын
🎉
@AdetunmbiAbdulafeez20 күн бұрын
Building a REST API is a thing, building one that scales is another. Thank you for this advanced level REST API design code walk-through. I sincerely hope and wish an end to end tutorial where we can code along is coming through. You actually made me love Fastify from way back. Thank you for all you do Tom. PS: what is the name of that chrome extension that you got the sessions from? I actually like the fact that you don’t have to go through the developer’s mode.
@TomDoesTech19 күн бұрын
It's called EditThisCookie, it's really helpful
@Gaflivinburger20 күн бұрын
Neat!
@ricko1320 күн бұрын
1713
@CritterPop20 күн бұрын
i was kind of disappointed this wasnt from scratch lol
@TomDoesTech20 күн бұрын
@@CritterPop I will do it from scratch
@CritterPop20 күн бұрын
@@TomDoesTech thank you , i look forward to that
@ArunKumar-gx8iv20 күн бұрын
@@TomDoesTech maybe use express
@bilkisuismail609611 күн бұрын
Please we need a revamp of your REST API playlist kzbin.info/aero/PL0iFifR5umclpRsRgWQtOtcgUffblcZgx&si=SGnQnQpz-LlwL2Ze
@MrWafters7620 күн бұрын
"Things, not 'thing'. Stopped watching 1ms after this basic error.
@TomDoesTech20 күн бұрын
What are you talking about? "One other things" does not make sense. Things is plural, one is singular.
@hammadmaqsood705920 күн бұрын
Bro woke up and chose hating for no reason at all
@xrexy19 күн бұрын
"one other thing" is correct, not "one other thingS" at least be right before acting like a smartass 🤓 edit: actually good ragebait 10/10 made me reply
@Giiunta19 күн бұрын
Ah, what exquisite zeal we behold! A singular "thing" so heinously misused, that it compelled our intrepid critic to abandon their viewing experience after a mere millisecond! How doth one endure such a calamitous affront to the sanctity of the English tongue? The audacity of this blunder is beyond comprehension! And yet, alas, the comment itself, while demanding perfect grammar, is far from immune to scrutiny. First, the abbreviation "1ms"-how utterly vulgar and pedestrian, like a crude mark on a page of fine parchment. Would it not have been more befitting to invoke the full term, “one millisecond,” to maintain a certain elegance? One wonders if brevity is the true soul of grammar, or merely an affront to it. Secondly, might one kindly suggest that the grammar guardian, in their haste to correct, might have taken a moment to discern the true nature of the speaker’s phrase? "One other thing" it was, not "one of the thing." Yet such trivialities pale in comparison to the epic misjudgment of daring to watch beyond such a grammatical betrayal. One must question the fortitude of the critic, so easily undone by a mere trifle of language. In conclusion, we are left with a comment both admirable and lamentable-an attempt at linguistic purity marred by the very imperfection it seeks to correct. Oh, how tragic!
@999fini18 күн бұрын
@@TomDoesTechit sounds like you’re saying “one of the thing”, which would be wrong but who cares??
@nabinsaud468820 күн бұрын
Why don't you use nestjs ? The best framework for nodejs for enterprise app
@biplabmondal-vb5oo20 күн бұрын
A little confused; who is the target audience: a senior developer or a junior-mid level developer who needs to learn how to make a proper, secure, and scalable backend? How to follow the folder structure? As a junior-mid level developer, I found this video totally useless because you only gave a pre-written code overview. Instead of learning something from you, I became more confused. This video could be a gem if you coded from scratch, allowing us to follow along. The video length would definitely increase two to three times, but that's fine if we learn something.
@essamal-mansouri268919 күн бұрын
I agree 100%. This was a great walkthrough of his code base but not really an educational video for me personally. Especially because it is still unclear to me how any of this helped with "scale".
@eliasepg20 күн бұрын
Love this video Tom, thanks so much for sharing, it''s super helpful!
@AznormlRema20 күн бұрын
Thanks for sharing such valuable information! A bit off-topic, but I wanted to ask: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). What's the best way to send them to Binance?
@tooabstractive120 күн бұрын
You know it's a bit off-topic then why not go to crypto channels that focus on that. If your intention is for scamming please do stop it.
@TomDoesTech19 күн бұрын
I don't know anything about that stuff
@OMFUCKG20 күн бұрын
Insane content, thanks.
@jesseemana959820 күн бұрын
We're back, we're so back
@MJ-vx5cz20 күн бұрын
Please touch hono js we need someone like you to make a standers
@sumitkachare662820 күн бұрын
Great content , and please create a video on search using postgres , also include how to manage search to scale and optimise it and limitations.
@nipunjindal289321 күн бұрын
hey, genuinely appreciate your vids. wanted to understand real internals here
@this.tushar21 күн бұрын
Quality content, Subscribed ❤
@oscarsanz436221 күн бұрын
Very good video!!
@maresal427121 күн бұрын
wow amazing
@hameeeed599221 күн бұрын
Keep going ❤
@romansernato652621 күн бұрын
actually a skeleton is better))
@belkocik21 күн бұрын
Are you planning to make a video about combing Fastify with TRPC and turborepo for fullstack development? As I learning Fastify, your videos are extremely helpful.
@ayyasudeen311821 күн бұрын
Why Fastify over Nest.js?
@furkanc640721 күн бұрын
Thank you 🎉
@naxtech__react773821 күн бұрын
The things you teach are beyond what everyone else teaches on KZbin. You are above them all.
@vincentpena701721 күн бұрын
Man thanks for sharing!
@belkocik23 күн бұрын
Package called drizzle-zod can create schemas that can be used later to validate DTO.
@utkarsh_online24 күн бұрын
1:18:50
@zahidaraeesi25 күн бұрын
Very nice and easy way to explain each and every part of the coding. Thanks for this video.