Skip to content

stillrivercode/smart-workplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Smart Workplace Dashboard Workshop

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.

Workshop Overview

Learning Objectives

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

What We'll Build

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

Technical Requirements

  • Node.js and npm installed
  • Internet access (uses Stillriver API proxy)
  • Code editor (VS Code)
  • Chrome browser
  • Access to Claude

πŸš€ Quick Start for Workshop Participants

Step 1: Get the Code

# Clone the workshop repository
git clone https://github.com/stillrivercode/smart-workplace.git
cd smart-workplace

# Run the installation script
./install.sh

Step 2: Start Development

# Start the development server
cd app
npm install
npm start

Your workshop environment is now ready! The app will open at http://localhost:3000.

API Setup - Already Done! βœ…

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.

🎯 Workshop Structure

Module 1: Document Driven Development Fundamentals

  • Creating effective specifications
  • Component requirement documentation
  • API integration planning

Module 2: Building the Weather Widget

  • Weather API integration
  • Real-time data handling
  • Error state management

Module 3: Meeting Time Finder

  • Timezone handling
  • Multi-API coordination
  • User interaction patterns

Module 4: Office Pulse Dashboard

  • Mock data integration
  • Dashboard composition
  • Performance optimization

πŸ“‹ Workshop Flow

  1. Specification Writing: Create detailed component specifications
  2. AI Implementation: Use Claude to generate React components
  3. API Integration: Connect to Stillriver API proxy endpoints
  4. Testing & Refinement: Validate functionality and user experience
  5. Performance Review: Measure AI-assisted development efficiency

πŸ› οΈ Development Tools

Available Scripts

# 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 format

Code Quality

The 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

πŸ“š Resources

API Information

  • Stillriver API: api.stillriver.info - Workshop proxy for API Ninjas endpoints (no auth required)
  • Available Endpoints: /v1/weather, /v1/timezone, /v1/airquality
  • React Documentation

Workshop Materials

πŸ†˜ Support

Common Issues

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

Getting Help

  • Raise your hand during the workshop
  • Check the troubleshooting guide in /docs/
  • Ask questions in the workshop chat

πŸ“„ License

MIT License - free for educational and commercial use.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •