examples icon indicating copy to clipboard operation
examples copied to clipboard

wishlist: Fastify Examples

Open bnb opened this issue 5 years ago • 3 comments

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

Ideally, these examples will:

  • Go beyond a simple "Hello, World"
  • Include tests
  • Have a README that explains what the project does and how to use it.

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

bnb avatar Jul 07 '20 17:07 bnb

cc @mcollina

bnb avatar Jul 07 '20 17:07 bnb

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?

gireeshpunathil avatar Jul 08 '20 03:07 gireeshpunathil

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)

mcollina avatar Jul 08 '20 07:07 mcollina