You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ⚡️ Progressive microservices framework for Node.js.
32
-
[Moleculer](https://moleculer.services/) with [Typescript](https://www.typescriptlang.org/) template
33
-
- 📦 [hygen](http://www.hygen.io/) - The scalable code generator that saves you time.
34
-
- 🦾 [pino](https://getpino.io) - super fast, all natural json logger
35
-
- 🔥 [swagger-jsdoc](https://github.com/Surnet/swagger-jsdoc/blob/v6/docs/README.md) - Generates swagger/openapi specification based on jsDoc comments and YAML files.
36
-
- ✨ [moleculer-zod-validator](https://github.com/TheAppleFreak/moleculer-zod-validator) - A validator for the Moleculer microservice framework to allow the use of [Zod](https://zod.dev/).
37
-
- 🔏 [asteasolutions/zod-to-openapi](https://github.com/asteasolutions/zod-to-openapi#defining-schemas) - A library that generates OpenAPI (Swagger) docs from Zod schemas.
38
-
- 🪄 [hey-api/openapi-ts](https://github.com/hey-api/openapi-ts) - Turn your OpenAPI specification into a beautiful TypeScript client.
31
+
-⚡️ Progressive microservices framework for Node.js.
32
+
[Moleculer](https://moleculer.services/) with [Typescript](https://www.typescriptlang.org/) template
33
+
-📦 [hygen](http://www.hygen.io/) - The scalable code generator that saves you time.
34
+
-🦾 [pino](https://getpino.io) - super fast, all natural json logger
35
+
-🔥 [swagger-jsdoc](https://github.com/Surnet/swagger-jsdoc/blob/v6/docs/README.md) - Generates swagger/openapi specification based on jsDoc comments and YAML files.
36
+
-✨ [moleculer-zod-validator](https://github.com/TheAppleFreak/moleculer-zod-validator) - A validator for the Moleculer microservice framework to allow the use of [Zod](https://zod.dev/).
37
+
-🔏 [asteasolutions/zod-to-openapi](https://github.com/asteasolutions/zod-to-openapi#defining-schemas) - A library that generates OpenAPI (Swagger) docs from Zod schemas.
38
+
-🪄 [hey-api/openapi-ts](https://github.com/hey-api/openapi-ts) - Turn your OpenAPI specification into a beautiful TypeScript client.
39
39
40
40
## Install
41
41
@@ -63,10 +63,10 @@ pnpm cli --ns api
63
63
64
64
In the terminal, try the following commands:
65
65
66
-
-`nodes` - List all connected nodes.
67
-
-`actions` - List all registered service actions.
68
-
-`call greeter.hello` - Call the `greeter.hello` action.
69
-
-`call greeter.welcome --username dunghd` - Call the `greeter.welcome` action with the `username` parameter.
66
+
-`nodes` - List all connected nodes.
67
+
-`actions` - List all registered service actions.
68
+
-`call greeter.hello` - Call the `greeter.hello` action.
69
+
-`call greeter.welcome --username dunghd` - Call the `greeter.welcome` action with the `username` parameter.
- Create two apps on Fly, one for staging and one for production:
133
+
- Create two apps on Fly, one for staging and one for production:
134
134
135
135
```sh
136
136
fly create moleculer-typescript
137
137
fly create moleculer-typescript-staging
138
138
```
139
139
140
-
- Create a new [GitHub Repository](https://repo.new)
140
+
- Create a new [GitHub Repository](https://repo.new)
141
141
142
-
- Add a `FLY_API_TOKEN` to your GitHub repo. To do this, go to your user settings on Fly and create a new [token](https://web.fly.io/user/personal_access_tokens/new), then add it to [your repo secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) with the name `FLY_API_TOKEN`.
142
+
- Add a `FLY_API_TOKEN` to your GitHub repo. To do this, go to your user settings on Fly and create a new [token](https://web.fly.io/user/personal_access_tokens/new), then add it to [your repo secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) with the name `FLY_API_TOKEN`.
143
143
144
144
Now that every is set up you can commit and push your changes to your repo. Every commit to your `main` branch will trigger a deployment to your production environment, and every commit to your `dev` branch will trigger a deployment to your staging environment.
145
145
@@ -149,18 +149,18 @@ We use GitHub Actions for continuous integration and deployment. Anything that g
0 commit comments