Rename express/ to backend/ and update references
Update paths in sync.sh, master/main.go, and CLAUDE.md to reflect the directory rename. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ master process. Key design principles:
|
|||||||
|
|
||||||
**Format TypeScript code:**
|
**Format TypeScript code:**
|
||||||
```bash
|
```bash
|
||||||
cd express && ../cmd pnpm biome check --write .
|
cd backend && ../cmd pnpm biome check --write .
|
||||||
```
|
```
|
||||||
|
|
||||||
**Build Go master process:**
|
**Build Go master process:**
|
||||||
@@ -54,7 +54,7 @@ cd master && go build
|
|||||||
|
|
||||||
### Components
|
### Components
|
||||||
|
|
||||||
- **express/** - TypeScript/Express.js backend application
|
- **backend/** - TypeScript/Express.js backend application
|
||||||
- **master/** - Go-based master process for file watching and process management
|
- **master/** - Go-based master process for file watching and process management
|
||||||
- **framework/** - Managed binaries (Node.js, pnpm), command wrappers, and
|
- **framework/** - Managed binaries (Node.js, pnpm), command wrappers, and
|
||||||
framework-specific library code
|
framework-specific library code
|
||||||
@@ -68,7 +68,7 @@ Responsibilities:
|
|||||||
- Proxy web requests to backend workers
|
- Proxy web requests to backend workers
|
||||||
- Behaves identically in all environments (no dev/prod distinction)
|
- Behaves identically in all environments (no dev/prod distinction)
|
||||||
|
|
||||||
### Express App Structure
|
### Backend App Structure
|
||||||
|
|
||||||
- `app.ts` - Main Express application setup with route matching
|
- `app.ts` - Main Express application setup with route matching
|
||||||
- `routes.ts` - Route definitions
|
- `routes.ts` - Route definitions
|
||||||
|
|||||||
0
express/.gitignore → backend/.gitignore
vendored
0
express/.gitignore → backend/.gitignore
vendored
@@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
watchDir := flag.String("watch", "../express", "directory to watch for changes")
|
watchDir := flag.String("watch", "../backend", "directory to watch for changes")
|
||||||
workers := flag.Int("workers", 1, "number of worker processes")
|
workers := flag.Int("workers", 1, "number of worker processes")
|
||||||
basePort := flag.Int("base-port", 3000, "base port for worker processes")
|
basePort := flag.Int("base-port", 3000, "base port for worker processes")
|
||||||
listenPort := flag.Int("port", 8080, "port for the reverse proxy to listen on")
|
listenPort := flag.Int("port", 8080, "port for the reverse proxy to listen on")
|
||||||
|
|||||||
Reference in New Issue
Block a user