A streamlined workshop teaching Document Driven Development (DDD) through building a Smart Workplace Dashboard. Participants create three focused widgets that help HR teams and office managers monitor workplace conditions and optimize employee experience using api.stillriver.info and mock data.
By the end of this 2-hour workshop, participants will:
- Write effective DDD specifications for dashboard components
- Generate React components using AI agents
- Integrate multiple API endpoints via api.stillriver.info
- Handle asynchronous data and error states
- Measure productivity improvements with AI-driven development
A focused dashboard with three core widgets:
- Office Weather Monitor - Current conditions and commute impact
- Meeting Time Finder - Cross-timezone meeting scheduler
- Office Pulse - Simple wellness and utilization metrics
- Node.js and npm installed
- Internet access (uses Stillriver API proxy)
- Code editor (VS Code)
- Chrome browser
- Access to Claude
# Clone the workshop repository
git clone https://github.com/stillrivercode/smart-workplace.git
cd smart-workplace
# Run the installation script
./install.sh# Start the development server
cd app
npm install
npm startYour workshop environment is now ready! The app will open at http://localhost:3000.
This workshop uses Stillriver API (api.stillriver.info) as a proxy for API Ninjas endpoints. No API keys or registration required - everything works out of the box for workshop participants.
- Creating effective specifications
- Component requirement documentation
- API integration planning
- Weather API integration
- Real-time data handling
- Error state management
- Timezone handling
- Multi-API coordination
- User interaction patterns
- Mock data integration
- Dashboard composition
- Performance optimization
- Specification Writing: Create detailed component specifications
- AI Implementation: Use Claude to generate React components
- API Integration: Connect to Stillriver API proxy endpoints
- Testing & Refinement: Validate functionality and user experience
- Performance Review: Measure AI-assisted development efficiency
# Start development server
npm run dev
# Run tests
npm test
# Build for production
npm run build
# Lint code
npm run lint
# Format code
npm run formatThe project includes pre-configured linting and formatting tools:
- ESLint for JavaScript/React code quality
- Prettier for consistent code formatting
- Pre-commit hooks for automated quality checks
- Stillriver API: api.stillriver.info - Workshop proxy for API Ninjas endpoints (no auth required)
- Available Endpoints:
/v1/weather,/v1/timezone,/v1/airquality - React Documentation
- Detailed module guides in
/workshop/directory: - Setup guides:
| Issue | Solution |
|---|---|
| API connection issues | Verify internet connection to api.stillriver.info |
| CORS errors | Use development proxy in package.json |
| Component not rendering | Check browser console for errors |
- Raise your hand during the workshop
- Check the troubleshooting guide in
/docs/ - Ask questions in the workshop chat
MIT License - free for educational and commercial use.