Masterclass | Unlocking Node.js' Power: A Journey into Fastify and Beyond

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024
  • Looking to learn more about the key principles of extensible architecture?
    You're in the right place. In this masterclass, we take a deep dive into:
    ‣Fastify’s design principles & low-overhead philosophy
    ‣How to build modern Node.js & Fastify backends
    📝 Key resources
    1) Downloading Meraki: github.com/pla...
    2) Learn Fastify: github.com/pla...
    3) Close with grace: github.com/mco...
    ⏲️ Timestamps
    00:01:56 Masterclass starts
    00:07:00 The Fastify Community
    00:12:05 Let's Get Started
    00:49:51 Validations
    00:58:35 Hooks and Decorations
    01:05:40 Plugins and Encapsulations
    1:11:06 Platformatic
    1:25:54 Introducing Meraki

Комментарии • 9

  • @anuj7286
    @anuj7286 Месяц назад

    Great tutorial sir, thank you!

  • @tusharbarate4973
    @tusharbarate4973 8 месяцев назад +2

    Master in MasterClass! A Question btw. When I should Platformatic runtime?
    How to start a app with what?

    • @platformatic
      @platformatic  7 месяцев назад

      `platformatic start` will start your application on top of platformatic runtime.

    • @tusharbarate4973
      @tusharbarate4973 7 месяцев назад +1

      @@platformatic I mean to say if would want to start a new project with multiple services.
      Then which service should be used? Patformatic runtime or Platformatic service?

  • @OleksandrSolomakha
    @OleksandrSolomakha 8 месяцев назад

    Please do more examples with testing, why decorators are better and how to test it properly. Also would like to see if plugin connects to db during initialisation, how do we handle this in tests?

    • @platformatic
      @platformatic  7 месяцев назад

      Take a look at ruclips.net/video/g-6Ig8k6Nzc/видео.html, it explains why Decorators are better.
      There are a few testing strategies for plugins that requires db. We prefer to run the full app for the tests (at least for the critical paths), so we send payloads to the incoming routes. You could also spin up a Fastify instance with just that plugin, and wire all the dependencies yourself - this is very useful if you are doing mock testing.

  • @ImSuvasco
    @ImSuvasco 4 месяца назад +2

    Hey bro, how about we don't chew gum during a presentation?