nodejs / examples

A repository of runnable Node.js examples that go beyond "hello, world!"
MIT License
649 stars 343 forks source link

wishlist: Fastify Examples #9

Open bnb opened 4 years ago

bnb commented 4 years ago

It would be genuinely wonderful to get some examples of Fastify into the examples repo's servers examples.

Ideally, these examples will:

Please see CONTRIBUTING.md for more context on how to contribute. Please feel free to ask any questions here ❤️

bnb commented 4 years ago

cc @mcollina

gireeshpunathil commented 4 years ago

probably worthwhile to co-ordinate with #10 so as to cover a common use case so that it can serve also to showcase the subtle differences and similarities?

mcollina commented 4 years ago

Here is an example. It includes JWT auth. https://github.com/mcollina/one-two-three-fastify

I can also add a quick db if needed and update to run it well in this repo.

(The example uses Node ESM)