question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a sample for TypeScript applications

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
subesokuncommented, May 6, 2020

@msfussell Sure, I’ll try to prepare a sample TypeScript project with docu and share it here.

1reaction
subesokuncommented, Mar 9, 2020

@RicardoNiepel Exactly, the example should just be a simple “Hello World” Dapr application that covers your listed open items.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found