Skip to content

killerapp/mermaid-render

Repository files navigation

📊 Mermaid Diagram Viewer

This project showcases the integration of modern web technologies to create an interactive diagram maker application.

🌐 Demo: https://killerapp.github.io/mermaid-render/

📸 Screenshot

Mermaid Diagram Viewer Screenshot

🚀 Technologies and Concepts Demonstrated

  1. Next.js 🔄: React framework for server-side rendering and static site generation
  2. React ⚛️: JavaScript library for building user interfaces
  3. Mermaid 🧜‍♀️: JavaScript-based diagramming and charting tool
  4. Tailwind CSS 🎨: Utility-first CSS framework for rapid UI development
  5. Cloudflare Workers ☁️: Serverless execution environment for application augmentation

🧩 Components

  • DiagramControls.jsx: UI controls for manipulating diagrams
  • DiagramRenderer.jsx: Responsible for rendering the diagrams
  • MermaidRenderer.jsx: Handles the rendering of Mermaid diagrams

🌟 Key Features

  • 🖥️ Server-side rendering with Next.js
  • 🖱️ Client-side interactivity with React
  • 📈 Diagram creation and rendering using Mermaid
  • 📱 Responsive design with Tailwind CSS
  • 🛣️ API routing (placeholder in _worker.js)
  • 📦 Static asset serving via Cloudflare Workers

⚙️ Configuration

  • Custom webpack configuration in next.config.js
  • PostCSS and Tailwind CSS configuration

This project demonstrates the integration of various modern web technologies to create a functional and interactive diagram maker application.