Skip to content

Commit

Permalink
clean up and get this all working for nestjs
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Apr 22, 2024
1 parent fb1f645 commit b1aa307
Show file tree
Hide file tree
Showing 29 changed files with 4,148 additions and 30 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ jobs:
"examples/motoko_examples/superheroes",
"examples/motoko_examples/threshold_ecdsa",
"examples/motoko_examples/whoami",
"examples/nest",
"examples/new",
"examples/notify_raw",
"examples/null_example",
Expand Down
3 changes: 3 additions & 0 deletions examples/nest/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.azle
.dfx
node_modules
24 changes: 24 additions & 0 deletions examples/nest/dfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"canisters": {
"api": {
"type": "custom",
"main": "src/main.ts",
"candid": ".azle/api/main.did",
"candid_gen": "http",
"build": "npx azle api",
"wasm": ".azle/api/api.wasm",
"gzip": true,
"metadata": [
{
"name": "candid:service",
"path": ".azle/api/main.did"
},
{
"name": "cdk:name",
"content": "azle"
}
],
"npm_external": ["@nestjs/microservices", "@nestjs/websockets"]
}
}
}
Loading

0 comments on commit b1aa307

Please sign in to comment.