Skip to content
Fastify decorators collection with bootstraper
Branch: master
Clone or download
L2jLiga v1.1.0
### Added
- `@controller` and `@hook` decorators

### Changed
- Improvements in documentation
Latest commit f5e1349 May 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Introduce support for Controllers approach to build Fastify applications May 20, 2019
docs Improvements in docs May 22, 2019
.gitignore Initial commit May 11, 2019
.travis.yml v1.1.0 May 22, 2019
LICENSE Initial commit May 11, 2019 Added docs for Controllers May 21, 2019

Fastify decorators

npm version npm node

Build Status codecov License: MIT

Fastify-decorators is the set of decorators to easier development of Fastify application.

This package based on Fastify ^2.0.0 and may not work with other versions.

Installation and usage

Installation and basic usage instruction can be found in library README


Repository structure

  • lib directory contains library sources
  • src directory contains example of usage of this library
  • test directory contains tests for library and example

NOTE: give a look also to the package.json to find out how the scripts are done 😉

How to run example

  1. clone this repository or download
  2. open terminal in project directory
  3. type npm install
  4. type npm run build
  5. type npm start

Example will be available on http://localhost:3000. You can check it by GET request to http://localhost:3000/get


This project licensed under MIT License

You can’t perform that action at this time.