mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/test-app/README.md
This commit is contained in:
1 parent
3e65edce14
commit
4aaa83dfbf
3 files changed
+77
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250816-163929", "file": "/workspaces/claude-code-flow/test-app/tests/smoke/test.js", "timestamp": "2025-08-16T16:39:29Z", "type": "pre-edit", "original_branch": "alpha90"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250816-163931", "file": "/workspaces/claude-code-flow/test-app/tests/smoke/test.js", "timestamp": "2025-08-16T16:39:31Z", "type": "post-edit", "branch": "alpha90", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 6 ++-- .claude/checkpoints/1755362365.json | 1 + .claude/checkpoints/1755362367.json | 1 + claude-flow-wiki | 0 test-app/tests/smoke/test.js | 65 ++++++++++++++++++++++++++++++++++ 6 files changed, 71 insertions(+), 4 deletions(-) "}
|
||||
@@ -0,0 +1,75 @@
|
||||
# Test App
|
||||
|
||||
A simple Node.js application that outputs 'test' to the console.
|
||||
|
||||
## Features
|
||||
|
||||
- Clean architecture with modular structure
|
||||
- Environment-based configuration
|
||||
- Error handling and graceful degradation
|
||||
- Smoke tests for basic functionality
|
||||
- No hardcoded values - all configuration via environment variables
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
test-app/
|
||||
├── src/
|
||||
│ └── index.js # Main application entry point
|
||||
├── config/
|
||||
│ └── config.js # Configuration management
|
||||
├── tests/
|
||||
│ └── smoke/
|
||||
│ └── test.js # Basic smoke tests
|
||||
├── .env.example # Environment variables template
|
||||
├── package.json # Project dependencies
|
||||
└── README.md # This file
|
||||
```
|
||||
|
||||
## Setup Instructions
|
||||
|
||||
1. **Install Dependencies**
|
||||
```bash
|
||||
cd test-app
|
||||
npm install
|
||||
```
|
||||
|
||||
2. **Configure Environment**
|
||||
```bash
|
||||
cp .env.example .env
|
||||
# Edit .env file if needed
|
||||
```
|
||||
|
||||
3. **Run the Application**
|
||||
```bash
|
||||
npm start
|
||||
```
|
||||
|
||||
Expected output:
|
||||
```
|
||||
test
|
||||
```
|
||||
|
||||
4. **Run Tests**
|
||||
```bash
|
||||
npm test
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
All configuration is managed through environment variables. See `.env.example` for available options:
|
||||
|
||||
- `NODE_ENV` - Application environment (development/production)
|
||||
- `VERBOSE_LOGGING` - Enable verbose logging (true/false)
|
||||
|
||||
## Development
|
||||
|
||||
The application follows clean architecture principles:
|
||||
- All configuration is externalized
|
||||
- Modular code structure (< 500 lines per file)
|
||||
- Comprehensive error handling
|
||||
- Environment-based configuration
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in new issue
Block a user