oswaldoacauan / playground-fastify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install deps

npm install

Running

npm start - Starts the server

npm test - Calls the endpoints for testing

Test

Expected result from the npm test

[ { hello: 'world' },
  { statusCode: 403, error: 'Forbidden', message: '🚫' },
  'OK',
  'OK' ]

  // in your server after 2 sec
  --- SLEEP AFTER 2S ---
  --- SLEEP ERROR AFTER 3S ---
  --- SLEEP AFTER 5S ---
  --- SLEEP AFTER 10S ---

Metrics

  • Stars: 11.2k
  • Contributors: 165
  • Used by: 3.1k
  • Latest Commit: 5 hours ago
  • Requests per second: 76.8k
  • Documentation Rating: 7/10
  • How easy it was to implement: 7/10

About


Languages

Language:JavaScript 100.0%