Skip to content

Commit 0a62688

Browse files
Merge pull request #5 from SimYunSup/modernize-stack
Fix: Bump packages version.
2 parents b2f8c1d + 5bbf75c commit 0a62688

File tree

11 files changed

+6527
-6916
lines changed

11 files changed

+6527
-6916
lines changed

docs/pages/intermediate/express-vs-minimal-api.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ For something between .NET Minimal APIs and .NET Controller APIs, check out [Fas
1010

1111
## Setting Up
1212

13-
We'll follow [this guide](https://blog.logrocket.com/how-to-set-up-node-typescript-express/) to set up Express with TypeScript
14-
1513
<CodeSplitter>
1614
<template #left>
1715

@@ -44,14 +42,14 @@ app.listen(port, () => {
4442
console.log('Server is running at http://localhost:' + port);
4543
});" > index.ts
4644

47-
# Add packages to support hot reload
48-
npm i -D nodemon ts-node concurrently
45+
# Add packages to support typescript file and hot reload
46+
npm i -D tsx
4947

5048
# Update package.json
5149
# "scripts": {
5250
# "build": "npx tsc",
5351
# "start": "node dist/index.js",
54-
# "dev": "nodemon src/index.ts"
52+
# "dev": "tsx watch src/index.ts"
5553
# }
5654

5755
npm run dev # ✅ Server ready!

0 commit comments

Comments
 (0)