Why u use interface key insted of 'type' key?, in another Typed Languages like Java or Kotlin usually interfaces it's only used for behavior segregation and for mocking-testing. I've seen this pattern in react.js too. 🤔
I recommend reading about interfaces in typescript, might be slightly different to what you’re used to with traditional oop languages. Interfaces here are just descriptions of the shape of something, it’s a contract used for type checking
In several cases you can use type aliases with the “type” key interchangeably to interfaces, I also recommend reading about how those two differ, hard to explain in a comment
Hello Marius - It would be so helpful if you could make a tutorial on how to make server side authentication with JWT, Bcrypt and MongoDB :-) Your tutorial is so far the best but tbh - a Fastify scares me because there are not so many tutorial out there...
@@mariusespejo Tell me dear Marius - would you rather recommend Nest.js over Fastify? I know Express well - so I know perfectly how to build my stuff with that but also I am aware that Express is not maintened and is slow in compare to others frameworks. The thing is - I am now picking my topic for a Bachelor degree and the topic most probably be a "full stack app". This app will have FE written in React Native and it will be placed in both app stores and the back end is now my question mark. Owing to the bachelor work I would love to compare Koa, Express and Fastify. I believe my React Native app will be sending quite a lot of request on the backend so I just want to expalin in my Bachelor work why I chose Fastify over other frameworks since I need speed :-). But maybe you will change my mind and explain my why is Nest much better solution in compare to others... Thank you!
Nest is a framework built on top of express so you can think of it as the next layer up. Express is a minimal framework, there’s not much more to maintain, however it’s the ecosystem around it that is very extensive, and Nest takes full advantage of it. I suggest you watch the Nest crash course in my channel, it likely will convince you and give you the details you’re looking for. Nest actually also can also use fastify instead of express behind the scenes for performance, but not sure I would recommend it if you’re just getting started
@@mariusespejo I just had a call with a friend of mine (senior developer) and he also said I should learn Nest.js as fast as possible. Hmmm... In that case - good bye Fastify! Thank you Marius - I will check your video.
I feel Fastify's biggest plus for me is its docs
I'm so glad to see this!! I keep thinking I want to use Fastify with Nest but it seems harder to implement. Thanks!!
very underrated tutorial
I hit subscribe and it went from 9.99k to 10k 👍🏻 Epic content!!!
Awesome thanks for pushing it to the milestone!! 😄
Nice, Detailed tutorial.
How to handle routes with controllers in a separate file ?
Someone knows how debugging with fastify typescript?
Hi, can you tell me how to add custom error message in schema?
thanks a lot
nice ! any thoughts on doing authentication here like you've done using NestJS ?
will consider it, thanks!
Thanks a lot !
Thanks brother!
Why u use interface key insted of 'type' key?, in another Typed Languages like Java or Kotlin usually interfaces it's only used for behavior segregation and for mocking-testing.
I've seen this pattern in react.js too. 🤔
I recommend reading about interfaces in typescript, might be slightly different to what you’re used to with traditional oop languages. Interfaces here are just descriptions of the shape of something, it’s a contract used for type checking
In several cases you can use type aliases with the “type” key interchangeably to interfaces, I also recommend reading about how those two differ, hard to explain in a comment
Hello Marius - It would be so helpful if you could make a tutorial on how to make server side authentication with JWT, Bcrypt and MongoDB :-) Your tutorial is so far the best but tbh - a Fastify scares me because there are not so many tutorial out there...
Have you considered the Nest framework? It’s very well documented, and I happen to cover it well in the channel
@@mariusespejo Tell me dear Marius - would you rather recommend Nest.js over Fastify? I know Express well - so I know perfectly how to build my stuff with that but also I am aware that Express is not maintened and is slow in compare to others frameworks. The thing is - I am now picking my topic for a Bachelor degree and the topic most probably be a "full stack app". This app will have FE written in React Native and it will be placed in both app stores and the back end is now my question mark. Owing to the bachelor work I would love to compare Koa, Express and Fastify. I believe my React Native app will be sending quite a lot of request on the backend so I just want to expalin in my Bachelor work why I chose Fastify over other frameworks since I need speed :-). But maybe you will change my mind and explain my why is Nest much better solution in compare to others... Thank you!
Nest is a framework built on top of express so you can think of it as the next layer up. Express is a minimal framework, there’s not much more to maintain, however it’s the ecosystem around it that is very extensive, and Nest takes full advantage of it. I suggest you watch the Nest crash course in my channel, it likely will convince you and give you the details you’re looking for. Nest actually also can also use fastify instead of express behind the scenes for performance, but not sure I would recommend it if you’re just getting started
@@mariusespejo I just had a call with a friend of mine (senior developer) and he also said I should learn Nest.js as fast as possible. Hmmm... In that case - good bye Fastify! Thank you Marius - I will check your video.
Great, good luck on the rest of your bachelor degree!
can u do a vid with mongo db and react fastify? ANyways highly appreciate fam
What is better, fastify or adonis ?
depends on your preferences really, I have an adonis crash course in my channel if you’d like to compare
It is amazing 👌
Marius More Nestjs and React with Typescript Stuff please. And have you considered about getting your own discord i would love to be a part of it.
definitely more of those to come! discord, few folks have asked the same, will consider it
Please do tutorial with nest + fastify :)
As soon as I heard Typescript, I went to a different fastify tutorial.
Okay lol