Compare commits

...

2 Commits

Author SHA1 Message Date
2a43c12382 Update CLAUDE.md: document Express as chosen HTTP framework
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 10:31:20 +00:00
a93d16ee26 Install Express with TypeScript types
Add express as a dependency and @types/express as a devDependency.
Create empty src/index.ts; tsc --noEmit passes cleanly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 10:31:05 +00:00
4 changed files with 1498 additions and 1 deletions

View File

@ -44,7 +44,8 @@ word-counter-api/
- **Purpose**: An API service for counting words in text input. - **Purpose**: An API service for counting words in text input.
- **Stack**: Node.js + TypeScript (CommonJS modules, `tsc` build, `tsx` for dev watch). - **Stack**: Node.js + TypeScript (CommonJS modules, `tsc` build, `tsx` for dev watch).
- Key design decisions still to make: HTTP framework, authentication strategy, request/response format (REST vs. GraphQL), deployment target. - HTTP framework: **Express** (`express` + `@types/express`).
- Key design decisions still to make: authentication strategy, request/response format (REST vs. GraphQL), deployment target.
## Code Style ## Code Style

1492
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,11 @@
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": {
"express": "^4.18.0"
},
"devDependencies": { "devDependencies": {
"@types/express": "^4.17.0",
"@types/node": "^22.0.0", "@types/node": "^22.0.0",
"tsx": "^4.0.0", "tsx": "^4.0.0",
"typescript": "^5.0.0" "typescript": "^5.0.0"

0
src/index.ts Normal file
View File