Skip to content

rodrigogs/fastify-scaffold

Repository files navigation

fastify-scaffold

Build Status Code Climate Test Coverage Dependency Status devDependency Status

A structured fastify app example.

Setup

Node.js 7.6.0 or higer is required

Download or clone fastify-scaffold latest release at https://github.com/rodrigogs/fastify-scaffold/releases

$ yarn install

Development

$ yarn start

Production

  • Single instance

    $ NODE_ENV=production node bin/www

  • Cluster

    $ NODE_ENV=production node bin/fork

Test

$ yarn test

License

Licence © Rodrigo Gomes da Silva