Task Detail

  • Activity on Mon Jun 04 2018 11:47:55 GMT+0000 (UTC) 1. Each plugin is an instance of Fastify. This is why plugin start with "function pluginOne(fastify, option){}" 2. Routes can be divided to use different plugins, so authentication and other functions can be easier to apply. 3. All the plugins then will be plugged into my main "server.js" Fastify instance. 4. Server.js instance should contain common features for all plugins (marko, lasso, ...) to achieve DRY principle.

    10/26/2024 14:29:10