https://github.com/bitloops/probable-journey
https://github.com/bitloops/probable-journey
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitloops/probable-journey
- Owner: bitloops
- Created: 2023-03-13T15:05:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-03T08:07:06.000Z (about 3 years ago)
- Last Synced: 2025-01-15T23:28:25.664Z (over 1 year ago)
- Language: TypeScript
- Size: 364 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todo App using nest.js and the Bitloops Language
## Required software
npm install -g grpc-tools grpc_tools_node_protoc_ts
## To generate the gRPC classes
!!! Note that there is a conflict with protoc and newer TypeScript versions. For now, v4.3.4 can be used without an issue but v4.7.4 breaks things.
https://github.com/thesayyn/protoc-gen-ts/issues/170
https://github.com/microsoft/TypeScript/issues/50259
./node_modules/.bin/grpc_tools_node_protoc --plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./src/proto --ts_out=grpc_js:./src/proto --grpc_out=grpc_js:./src/proto --proto_path=./src/proto ./src/proto/todo.proto