Skip to content

Commit 1d91662

Browse files
committed
📝 add docs for hello and card routes
1 parent 2cc68cb commit 1d91662

File tree

8 files changed

+747
-62
lines changed

8 files changed

+747
-62
lines changed

Diff for: README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ more.
1919
### Frameworks
2020

2121
- [Fastify](https://fastify.io)
22+
- [Fastify autoload](https://github.com/fastify/fastify-autoload)
23+
- [Fastify swagger](https://github.com/fastify/fastify-swagger)
24+
- [Fastify swagger UI](https://github.com/fastify/fastify-swagger-ui)
25+
- [Fastify type provider typebox](https://github.com/fastify/fastify-type-provider-typebox)
2226

2327
### Linters and formatters
2428

@@ -36,8 +40,9 @@ more.
3640
- [Husky](https://github.com/typicode/husky)
3741
- [Lint Staged](https://github.com/okonet/lint-staged)
3842
- [Yup](https://github.com/jquense/yup)
43+
- [TypeBox](https://www.npmjs.com/package/@sinclair/typebox)
3944

40-
## Instalation
45+
## Installation
4146

4247
```bash
4348
npm i -g pnpm

Diff for: package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"start:dev": "ts-node-dev src/index.ts",
7+
"start:dev": "ts-node-dev src/index.ts | pino-pretty",
88
"prebuild": "rimraf dist",
99
"build": "tsc -p tsconfig-build.json",
10-
"start:prod": "node dist/index.js",
10+
"start:prod": "npm run build && node dist/index.js | pino-pretty",
1111
"migration:run": "ts-node --transpile-only -e 'import { MySQLMigration } from \"./src/database/mysql/migration.ts\"; new MySQLMigration().run()'",
1212
"migration:run:test": "NODE_ENV=test npm run migration:run",
1313
"migration:create": "ts-node --transpile-only -e 'import { MySQLMigration } from \"./src/database/mysql/migration.ts\"; new MySQLMigration().create()'",
@@ -47,6 +47,11 @@
4747
"vitest": "^0.31.0"
4848
},
4949
"dependencies": {
50+
"@fastify/autoload": "^5.7.1",
51+
"@fastify/swagger": "^8.5.1",
52+
"@fastify/swagger-ui": "^1.8.1",
53+
"@fastify/type-provider-typebox": "^3.2.0",
54+
"@sinclair/typebox": "^0.28.13",
5055
"dotenv": "^16.0.3",
5156
"fastify": "^4.17.0",
5257
"module-alias": "^2.2.2",

0 commit comments

Comments
 (0)