MorphBox Tutorials
September 23, 2025 ยท View on GitHub
Learn how to use MorphBox effectively with these hands-on tutorials. Each tutorial builds on the previous one, teaching you different aspects of AI-assisted development.
Table of Contents
- Tutorial 1: Your First MorphBox Session
- Tutorial 2: Building a Full-Stack Web App
- Tutorial 3: Data Analysis with Python
- Tutorial 4: API Development and Testing
- Tutorial 5: Test-Driven Development
- Tutorial 6: Debugging and Code Review
- Tutorial 7: Learning a New Language
Tutorial 1: Your First MorphBox Session
Goal: Create a simple command-line application with Claude's help.
Time: 15 minutes
Setup
-
Create a new directory and start MorphBox:
mkdir todo-cli cd todo-cli morphbox -
Wait for the web interface to open at
http://localhost:3000
Steps
-
In the Claude panel, type:
Help me create a Python command-line todo list application with the following features: - Add tasks - Mark tasks as complete - List all tasks - Save tasks to a JSON file - Load tasks on startup -
Claude will create the application. Next, ask:
Now add color output using colorama and create a README with usage examples -
In the terminal panel, test your application:
# Install dependencies pip install colorama # Run the app python todo.py add "Learn MorphBox" python todo.py add "Build something cool" python todo.py list python todo.py complete 1 python todo.py list -
Enhance it further:
Add the ability to set priority levels (high, medium, low) and due dates
What You'll Learn
- How to interact with Claude effectively
- Iterative development workflow
- Testing code in the isolated environment
- Managing dependencies
Tutorial 2: Building a Full-Stack Web App
Goal: Create a complete web application with frontend and backend.
Time: 30 minutes
Setup
mkdir recipe-app
cd recipe-app
morphbox
Part 1: Backend API
-
Ask Claude:
Create a Node.js Express API for a recipe management app with: - CRUD operations for recipes - SQLite database using better-sqlite3 - Input validation - Error handling -
Set up the backend:
# In terminal panel npm init -y npm install express better-sqlite3 cors npm install -D nodemon # Run the server npx nodemon server.js
Part 2: Frontend
-
Ask Claude:
Create a modern, responsive frontend for the recipe API using: - Vanilla JavaScript (no framework) - Fetch API for backend communication - CSS Grid and Flexbox for layout - A form to add new recipes - Cards to display recipes -
Test the application:
# In a new terminal (click + in terminal panel) python -m http.server 8080 -
Open
http://localhost:8080in your browser
Part 3: Enhancement
- Ask Claude:
Add these features: - Search functionality - Filter by category - Recipe rating system - Local storage for favorites
What You'll Learn
- Full-stack development workflow
- API design and implementation
- Frontend-backend communication
- Database integration
- Progressive enhancement
Tutorial 3: Data Analysis with Python
Goal: Analyze data and create visualizations with Claude's guidance.
Time: 25 minutes
Setup
mkdir data-analysis
cd data-analysis
morphbox
Steps
-
Ask Claude:
Help me create a Python data analysis project that: - Generates sample sales data (CSV) - Loads and cleans the data with pandas - Performs analysis (trends, top products, etc.) - Creates visualizations with matplotlib - Generates a PDF report -
Install dependencies:
pip install pandas matplotlib seaborn jupyter reportlab -
Run the analysis:
python generate_data.py python analyze.py -
Create an interactive notebook:
Convert the analysis to a Jupyter notebook with step-by-step explanations -
Start Jupyter:
jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser
What You'll Learn
- Data manipulation with pandas
- Creating visualizations
- Working with Jupyter notebooks
- Generating reports
- Statistical analysis
Tutorial 4: API Development and Testing
Goal: Build a RESTful API with comprehensive testing.
Time: 30 minutes
Setup
mkdir user-api
cd user-api
morphbox
Part 1: API Development
-
Ask Claude:
Create a Node.js REST API for user management with: - User registration and login - JWT authentication - Password hashing with bcrypt - Input validation with Joi - MongoDB with Mongoose -
Set up MongoDB:
# Claude will guide you to use MongoDB Atlas or a local instance npm install express mongoose bcrypt jsonwebtoken joi dotenv
Part 2: Testing
-
Ask Claude:
Create comprehensive tests using Jest and Supertest: - Unit tests for all functions - Integration tests for API endpoints - Test database setup and teardown - Coverage reporting -
Run tests:
npm install -D jest supertest @types/jest npm test npm run test:coverage
Part 3: Documentation
-
Ask Claude:
Generate API documentation using Swagger/OpenAPI -
View documentation:
npm install swagger-ui-express swagger-jsdoc node server.js # Open http://localhost:3000/api-docs
What You'll Learn
- RESTful API design
- Authentication and security
- Testing strategies
- API documentation
- Database operations
Tutorial 5: Test-Driven Development
Goal: Learn TDD by building a feature from tests first.
Time: 20 minutes
Setup
mkdir tdd-calculator
cd tdd-calculator
morphbox
Steps
-
Ask Claude:
Guide me through TDD by building a scientific calculator in Python: 1. Write tests first 2. Make them fail 3. Implement minimum code to pass 4. Refactor -
Follow the TDD cycle:
# Run tests (they should fail initially) python -m pytest tests/ -v # Implement features # Run tests again (they should pass) python -m pytest tests/ -v -
Add more features using TDD:
Using TDD, add: - Memory functions (M+, M-, MR, MC) - History of calculations - Expression parsing (e.g., "2 + 3 * 4")
What You'll Learn
- Test-Driven Development methodology
- Writing effective tests
- Red-Green-Refactor cycle
- Test coverage
- Mocking and fixtures
Tutorial 6: Debugging and Code Review
Goal: Learn debugging techniques and code improvement strategies.
Time: 20 minutes
Setup
mkdir debug-practice
cd debug-practice
morphbox
Part 1: Debugging
-
Ask Claude:
Create a Node.js application with intentional bugs: - Memory leak - Race condition - Undefined variable access - Infinite loop - SQL injection vulnerability Then guide me through finding and fixing each one -
Use debugging tools:
# Run with Node debugger node --inspect server.js # Use Chrome DevTools for debugging
Part 2: Code Review
- Provide code for review:
Review this code and suggest improvements: [Paste any of your existing code] Focus on: - Performance - Security - Readability - Best practices
What You'll Learn
- Debugging techniques
- Using debugging tools
- Identifying common bugs
- Code review best practices
- Performance optimization
Tutorial 7: Learning a New Language
Goal: Learn Go/Rust/another language with Claude as your tutor.
Time: 30 minutes
Setup
mkdir learn-rust
cd learn-rust
morphbox
Steps
-
Start with basics:
I want to learn Rust. Start with: - Basic syntax and concepts - Ownership and borrowing - Simple examples I can run -
Build a project:
Help me build a CLI file organizer in Rust that: - Scans a directory - Organizes files by type - Has a dry-run mode - Shows progress -
Install Rust (if not present):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source $HOME/.cargo/env -
Build and run:
cargo init cargo build cargo run -- --help -
Learn advanced concepts:
Explain and show examples of: - Traits and generics - Error handling with Result - Async programming - Testing in Rust
What You'll Learn
- New programming language fundamentals
- Language-specific paradigms
- Package management
- Building real projects while learning
- Comparing languages
Tips for Effective Tutorial Learning
1. Ask Follow-up Questions
Don't hesitate to ask Claude to:
- Explain concepts in more detail
- Provide alternative solutions
- Show best practices
- Add more features
2. Experiment and Break Things
- Modify the code Claude provides
- Try to break it and understand why
- Ask Claude to help fix your modifications
3. Build on Tutorials
- Combine concepts from multiple tutorials
- Create your own variations
- Share your creations with the community
4. Use the Prompt Queue
For complex projects:
- Plan your questions in advance
- Add them to the prompt queue
- Let Claude work through them systematically
5. Save Your Work
# Initialize git in your project
git init
git add .
git commit -m "Initial commit"
# Create a GitHub repo and push
Next Steps
After completing these tutorials:
- Try the Use Cases - Apply your skills to real-world scenarios
- Build Your Own Project - Start something from scratch
- Contribute - Share your own tutorials with the community
- Explore Advanced Features - Learn about custom configurations
Getting Help
- If you get stuck, ask Claude to explain differently
- Check the Troubleshooting Guide
- Join the GitHub Discussions
Remember: The best way to learn is by doing. Start with Tutorial 1 and work your way through. Each tutorial builds your skills and confidence with AI-assisted development. Happy learning! ๐