Channel: Awais Mirza
Category: Science & Technology
Tags: express jsbuilding api's using fastifyrest apinode js complete tutorialtutorialfastifyprogramming
Description: I will show you how you can build a rest Apis using a framework called fastify which is a nodejs framework and it uses javascript as a programming language. It is also a minimal framework which means you can configure structure design your source code the way you want. ⭐ ⭐ ⭐ ⭐ ⭐ Business Email: owaesmirza@gmail.com ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ Best Books for JavaScript: ⭐ ⭐ ⭐ ⭐ ⭐ - Best JavaScript Book: amzn.to/3uvj37S - Best Book For Practise Projects: amzn.to/3uAqqv4 - Best book for JavaScript Design Pattern: amzn.to/3dQZAI6 - Angular Design Patterns: amzn.to/2PLxYMw - NodeJS Design Patterns: amzn.to/3t45Qmp ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ My Gear ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ Camera: amzn.to/3dR3Kjp Mic: amzn.to/3mysMaX Monitor: amzn.to/3d0XaHD **************************************************** Connect With Me: Twitter : twitter.com/AwaisMirza01 Facebook: facebook.com/awaismirza01 00:00 - First Marker 00:35 - Show Card For Fastify Crash Course 01:01 - Course Content 04:31 - Documentation 05:36 - Project Setup 06:22 - Installing Fastify 09:24 - Project Setup with Fastify CLI 12:02 - Adding Start Script with Nodemon 12:35 - Add Another Endpoint 12:59 - GET POST PUT DELETE 14:21 - Testing Api with Postman 15:28 - Plugins In Fastify 19:34 - Request Object 22:05 - Reply / Response 25:57 - Validating Incoming Request 28:51 - Parsing Request Payload 30:16 - Extending Fastify 32:09 - Mongo DB Connection with Custom Plugin 34:04 - Recap 35:04 - Logging 39:17 - Installing pretty-pino 42:42 - ContentTypeParser 48:18 - Decorators 57:22 - Hooks 57:56 - onRequest Hook 01:05:11 - Middleware