Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 12 hours ago
JSON representation
usage example for https://github.com/ynwd/fastify-di
- Host: GitHub
- URL: https://github.com/ynwd/fastify-di-example
- Owner: ynwd
- Created: 2020-03-15T13:41:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T10:16:21.000Z (almost 2 years ago)
- Last Synced: 2023-03-07T13:05:44.702Z (over 1 year ago)
- Topics: dependency-injection, fastify
- Language: TypeScript
- Homepage:
- Size: 1.73 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: readme.md
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
```