A Node.js test environment for JavaScript code with Vue 3 and editable data grids using Grid.js. This repository is specifically designed to work with Claude Code for rapid prototyping and development of Vue.js applications.
- Vue 3 Integration: Modern reactive UI framework loaded via CDN
- Editable Data Grid: Interactive tables with Grid.js supporting inline editing
- Express Server: Simple web server for serving static assets
- Modular Components: CalcPad-style component structure with separated script blocks
- Docker Support: Containerized deployment with Node.js 24 Alpine
- Claude Code Ready: Optimized for AI-assisted development workflows
- Node.js (v14 or higher recommended)
- npm
- Clone the repository:
git clone https://github.com/imartincei/CalcPadJS.git
cd CalcPadJS- Install dependencies:
npm install- Start the server:
node app.js- Open your browser to
http://localhost:8080
docker build -t calcpadjs .
docker run -p 8080:8080 calcpadjsCalcPadJS/
├── app.js # Express server configuration
├── package.json # Node.js dependencies
├── views/ # Static HTML files
│ ├── index.html # Home page with navigation
│ ├── VueTestSimple.html # Basic Vue components
│ ├── vuegrid.html # Editable data grid
│ └── VueTest2.html # Grid with dropdown filtering
├── Dockerfile # Docker configuration
├── CLAUDE.md # Claude Code development guidelines
└── README.md # This file
Navigate to different test pages from the home page:
- Vue Test Simple (
/simple) - Basic Vue 3 components with input fields, buttons, dropdowns, and checkboxes - Vue Grid (
/grid) - Editable data grid with search, sort, pagination, and inline editing - Vue Test 2 (
/test2) - Advanced grid with dropdown filtering and enhanced data management
- Search: Real-time filtering across all columns
- Sort: Click column headers to sort data
- Pagination: Navigate through large datasets
- Inline Editing: Click any cell to edit content
- Add Rows: Dynamic row addition with button
- Filtering: Dropdown-based data filtering
The application follows a modular Vue component structure where:
- Data objects are defined in separate script blocks
- Methods are stored in
methodsObject - Export variables are maintained in
exportVars - Components use CalcPad-style commenting for code generation
This architecture is optimized for:
- Claude Code Integration: Structured for AI-assisted development
- Rapid Prototyping: Easy component creation and modification
- WebView2 Compatibility: Code can run in embedded web components
- Modular Development: Self-contained component blocks
This repository is specifically configured for use with Claude Code:
- CLAUDE.md: Contains development guidelines and preferences
- Modular Structure: Components are built in separate, identifiable blocks
- CDN Dependencies: All libraries loaded via script tags for simplicity
- CalcPad Format: Consistent commenting and structure for code generation
- Use Claude Code to generate new components
- Test components in the existing test pages
- Create new test pages for complex features
- Use the home page navigation to organize tests
- Backend: Node.js, Express.js
- Frontend: Vue 3, Grid.js
- Styling: CSS3, responsive design
- Architecture: CalcPad-style modular components
- Deployment: Docker, Node.js 24 Alpine
- Fork the repository
- Create a feature branch
- Make your changes following the CalcPad structure
- Test thoroughly using the test pages
- Submit a pull request
MIT License - see LICENSE file for details.
- No build process required - uses CDN for all dependencies
- Designed for WebView2 component compatibility
- All modules must be compatible with Vue.js
- Components are structured for code generation tools
- Optimized for Claude Code AI-assisted development