An open API service indexing awesome lists of open source software.

https://github.com/killerapp/mermaid-render

A simple viewer for Mermaid diagrams.
https://github.com/killerapp/mermaid-render

mermaid mermaid-diagrams mermaidjs nextjs react tailwindcss

Last synced: 6 months ago
JSON representation

A simple viewer for Mermaid diagrams.

Awesome Lists containing this project

README

          

# 📊 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/](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.