Add a sample for TypeScript applications
See original GitHub issueDescribe the proposal
It’d be great if there is also a sample available for a TypeScript based Dapr application.
Currently I’m running the app via
{
"name": "my-app",
...
"scripts": {
"dapr": "dapr run --app-id my-app --app-port 3000 ts-node-dev lib/main.ts"
},
"dependencies": {
...
},
"devDependencies": {
"ts-node-dev": "^1.0.0-pre.44",
...
}
}
npm run dapr
but not sure if this is the most elegant / recommended way for running TS based Dapr applications locally.
Btw., having the samples repo and the docs/howto
section (which again contains samples) is very confusing as I’ve to search always in two places.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Add a sample for TypeScript applications · Issue #18 · dapr ...
Add a sample for TypeScript applications #18 ... It'd be great if there is also a sample available for a TypeScript based Dapr...
Read more >Documentation - TypeScript Tooling in 5 minutes
Let's develop our sample further. Here we use an interface that describes objects that have a firstName and lastName field. In TypeScript, two...
Read more >TypeScript tutorial with Visual Studio Code
The easiest way to install TypeScript is through npm, the Node.js Package Manager. ... Let's start with a simple Hello World Node.js example....
Read more >How To Build Your First TypeScript Project - YouTube
It is finally time that I create a full TypeScript project. In this video I show you how to create an entire TODO...
Read more >Build Your First TypeScript Application (2018)
The first step in using TypeScript is to add a TypeScript file to your project's Scripts folder. In a real application I'd probably...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@msfussell Sure, I’ll try to prepare a sample TypeScript project with docu and share it here.
@RicardoNiepel Exactly, the example should just be a simple “Hello World” Dapr application that covers your listed open items.