Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ynwd/fastify-di-example

usage example for https://github.com/ynwd/fastify-di
https://github.com/ynwd/fastify-di-example

dependency-injection fastify

Last synced: about 1 month ago
JSON representation

usage example for https://github.com/ynwd/fastify-di

Awesome Lists containing this project

README

        

# fastify-di simple example

## Folder Structure:
```
.
├── src
│ ├── __tests__
│ │ ├── hello.controller.spec.ts
│ │ ├── hello.service.spec.ts
│ │ └── support.plugin.spec.ts
│ ├── user.entity.ts
│ ├── hello.schema.ts
│ ├── hello.service.ts
│ ├── hello.controller.ts
│ ├── support.plugin.ts
│ └── main.ts
├── package.json
├── server.config.js
├── tsconfig.build.json
└── tsconfig.json
```

## Usage:
```
npm install
npm run build
npm start
```

## Development & Test:
```
npm run dev
```
```
npm test
```