Skip to content

andreros/react-mermaid-app

Repository files navigation

React Mermaid Example Application

Mermaid.JS is a syntax extension for markdown that allows you to create diagrams and visualizations using a simple, text-based scripting language called Mermaid. It is especially popular for embedding charts and diagrams directly in markdown documents, like those used in documentation, wikis, and dev notes.

This application illustrates the usage of Mermaid diagrams inside a React application. For further usage info, please visit Mermaid.JS Docs.

For further information, please check MERMAID.md.

Application Tech Stack

  • React framework (with Typescript) for the overall application development;
  • Typescript coding language;
  • Mermaid for diagram rendering;

Application Support and Tools

  • Webpack to bundle the application and serve it in development mode;

Application Code Quality

  • BiomeJS for code formatting and linting;

Application scripts

From the project root folder, please execute any of the following commands in a terminal window:

Installation and application bootstrap

# install the application dependencies
npm i

# start the application in development mode
npm run dev

# build a version of the application for distribution
npm run build

# serve the built version from the `dist` folder
npm run serve

# reset and reinstall the application
npm run nuke

Code Quality

# run BiomeJS
npm run lint

# run BiomeJS and fix all automatically fixable problems
npm run lint:fix

About

This application illustrates the usage of Mermaid diagrams inside a React application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published