Comments (10)
SDK specific examples can be found in the SDK repos - this also applies to typescript:
https://github.com/dapr/js-sdk/tree/master/examples/typescript
Open items:
- adding readme to the existing typescript sample
- adding link to the typescript sample from the JS-SDK root
- improving the existing TS sample with hot reload / real-live TS environment
I think we don't need a full TS sample with all building blocks - it should just be a Getting Started with all TS best practices in it using just just one Dapr building block and enable a good development/debugging experience with the Dapr sidecar.
@subesokun Your thoughts on it?
from samples.
@RicardoNiepel Exactly, the example should just be a simple "Hello World" Dapr application that covers your listed open items.
from samples.
@msfussell Sure, I'll try to prepare a sample TypeScript project with docu and share it here.
from samples.
It would be good to have an example in the docs in the howto section on how to use Dapr as a Typescript developer. @subesokun Would you be able to provide a doc showing how to use Typescript that we can include in the docs repo?
from samples.
@msfussell I've created now a small TypeScript howto/demo as a private contribution from my side :) I was also experimenting with the project setup to improve the development experience but many aspects are still missing I guess. But as a starting point that might be sufficient. I've tried also an alternative approach for the VS Code debugging setup so that I can avoid setting a fixed port or app ID in the VSCode config.
Let me know what you think :) dapr/docs#602
from samples.
@wcs1only Can you please review @subesokun 's PR ?
from samples.
I apologize for the delay in providing guidance here. There were several decisions made on how these kind of contributions should be made. I know you were previously instructed to put this code example in the docs but there has been a recent reorg (see dapr/quickstarts#280) of our samples repositories that makes a much better and natural place for this contribution. The right place for this is the dapr/samples repository, please open a PR there for this. Thank you!
from samples.
Ok, so we can close this issue here.
from samples.
Transferred to Samples repo.
from samples.
See PR above.
from samples.
Related Issues (20)
- I have confused dapr in kubernetes about service invoke. HOT 2
- hello-dapr-slim sample: Missing data file for curl example call HOT 1
- Add Pluggable Component .NET template HOT 1
- CloudAMQP Support
- Update k8s registry references HOT 1
- Issue relating to repository middleware-oauth-google HOT 1
- Java Sample using DAPR on AKS HOT 3
- Proposal: Sample for showcasing new Dapr 1.10/1.11 capabilities (Workflows + External Invocation Support) HOT 2
- Add sample for writing Secret Store as a pluggable component HOT 1
- Add external project eShopOnDapr HOT 2
- Emphasis on multiple languages HOT 5
- "couldn't find trust anchors in environment variable DAPR_TRUST_ANCHORS" in hello-docker-compose example
- Twitter Sentiment Setup Bash Script Issues
- Documentation error?
- Compose: Some questions on running Hello Docker Compose. HOT 1
- dapr-apim-integration sample: event-subscriber missing dapr.io/app-id annotation
- dapr-apim-integration sample: No prompt or instructions to install Dapr in Kubernetes
- dapr-apim-integration sample: echo-service and event-subscriber need a tracing config and fail to start
- npm gyp error when trying to run the sample HOT 2
- dapr init --slim gives me - error moving dashboard.exe binary to path: rename HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samples.