Skip to content

Instantly share code, notes, and snippets.

View Eomm's full-sized avatar
🧠
Improving

Manuel Spigolon Eomm

🧠
Improving
View GitHub Profile
@Eomm
Eomm / dynamic-route.js
Created November 13, 2022 09:49
Add dynamic routes to Fastify
// a quick check to implement a dynamic route plugin for fastify
const { fastify } = require('fastify')
const fp = require('fastify-plugin')
const http = require('http')
const EventEmitter = require('events')
main()
async function main () {
@Eomm
Eomm / questionnaire.md
Created August 20, 2023 07:50
Fastify Interview

Today, we have the privilege of speaking with {NAME} a remarkable individual who runs Fastify in their production environment! With Fastify's emphasis on performance and efficiency, this user's insights are invaluable. Join us as we delve into their experiences, from selecting Fastify over other options, to overcoming challenges, and even addressing the scarcity of external resources.

Questions:

  1. Why did you choose Fastify over other Node.js frameworks for your production applications? What specific features or advantages of Fastify influenced your decision?

  2. Can you share your experience on how you convinced your company to adopt Fastify for your projects? Were there any challenges in making this case, and how did you address them?

@Eomm
Eomm / draft.md
Created September 15, 2023 17:13
Schrödinger Session - Events

Organizzare un evento tech non è semplice, ma avere una community a cui chiedere consigli ed aiuto rende tutto possibile. Schrödinger Hat ti permette di fondare una CELLULA nella tua città organizzando una Schrödinger Session.

Per iniziare questa avventura è necessario creare una PULL REQUEST in questo repository https://github.com/Schrodinger-Hat/sh-sessions Rispettando il template proposto su GitHub.

I requisiti minimi per iniziare questo processo sono:

  • L'evento deve poter accogliere almeno 30 persone
@Eomm
Eomm / 0_index.js
Last active October 26, 2023 16:27
Stream like a pro
'use strict'
const fs = require('node:fs/promises')
const path = require('node:path')
const { Transform, Readable } = require('node:stream')
const Fastify = require('fastify')
//
//
//