# How to create a web app with bpmn-js which can draw BPMN diagrams

**URL:** <https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883>\
**Category:** Developers\
**Created:** [October 26, 2017, 3:32am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883 "2017-10-26T03:32:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![autuni](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@autuni](https://forum.bpmn.io/u/autuni)\
**Post date:** [October 26, 2017, 3:32am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/1 "2017-10-26T03:32:51Z")

</div>

Hi,

I am not sure if this is a dumb question. If it is I apologise.

I am new to this and I do not know NodeJs or any of the libraries even though I have considerable knowledge of JS.

My requirement is to create a web application that can draw new BPMN diagrams and save them as well as upload existing ones to modify them. And then to extend some BPMN elements such as BPMN activity.

I have downloaded almost everything from the site and I have installed NodeJs as well. I also installed node\_modules and bower\_components through command prompt.

I can run the examples such as ‘bpmn-js-seed-master’ where I see an sample diafram, but I can’t figure out how to get the toolkit and other full features to create a new BPMN diagram as the demo shows.

Please help me with this. I know there is lot of description there but somehow I can’t figure it out even after spending few days on this.

I need this as part of my study. I am a research student.

Thank you very much for your time (even reading this:)).

---

<div class="post-metadata">

**Author:** ![philippfromme](https://forum.bpmn.io/user_avatar/forum.bpmn.io/philippfromme/32/2803_2.png) [@philippfromme](https://forum.bpmn.io/u/philippfromme)\
**Post date:** [October 26, 2017, 7:22am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/2 "2017-10-26T07:22:49Z")

</div>

Have you checked out the examples [simple-bower](https://github.com/bpmn-io/bpmn-js-examples/tree/master/simple-bower) and [simple-common-js](https://github.com/bpmn-io/bpmn-js-examples/tree/master/simple-commonjs) yet? These are great starting points.

---

<div class="post-metadata">

**Author:** ![autuni](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@autuni](https://forum.bpmn.io/u/autuni)\
**Post date:** [October 26, 2017, 11:34pm UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/3 "2017-10-26T23:34:40Z")

</div>

Hi Philipp,

No I haven’t, I will do, thanks.

Thank you very much for the links and advice.

I think I have some issues with downloading things through npm. I am new to these things. So I am not sure if I am doing it all correct.

Thanks again.

---

<div class="post-metadata">

**Author:** ![nikku](https://forum.bpmn.io/user_avatar/forum.bpmn.io/nikku/32/5130_2.png) [@nikku](https://forum.bpmn.io/u/nikku)\
**Post date:** [October 27, 2017, 6:16am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/4 "2017-10-27T06:16:41Z")

</div>

I suggest you to explore the [modeler example](https://github.com/bpmn-io/bpmn-js-examples/tree/master/modeler) we provide, too. The contained [`app/index.js`](https://github.com/bpmn-io/bpmn-js-examples/blob/master/modeler/app/index.js) displays a few of the APIs that are relevant to you.

Note that you are _not_ forced to use `npm` and the whole setup. Starting with plain JavaScript from the [`bpmn-js-seed`](https://github.com/bpmn-io/bpmn-js-seed) will allow you to build the same thing, without any complex setup.

---

<div class="post-metadata">

**Author:** ![autuni](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@autuni](https://forum.bpmn.io/u/autuni)\
**Post date:** [October 28, 2017, 1:24am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/5 "2017-10-28T01:24:30Z")

</div>

Hi nikku,

Oh thank you so very much! Your reply helps me very much. It’s great to know i don’t have to use npm, thanks.

This is what I was looking for. Not to display just a BPMN diagram.

What i need most is the toolkit because I need to experiment with it to see how to extend some of the existing BPMN elements needed as part of my research.

This is the best piece of open source work I could find that satisfy my requirements. I will be writing about this work in my paper giving it the due credit. Then I need to show that I can use this editor to add new elements as BPMN extensions.

Thanks again, you made my life easier!

---

<div class="post-metadata">

**Author:** ![autuni](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@autuni](https://forum.bpmn.io/u/autuni)\
**Post date:** [October 28, 2017, 5:39am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/6 "2017-10-28T05:39:29Z")

</div>

Hi Philipp and nikku,

I thank both of you for helping me out. Both replies helped me getting this done, thank you very much!

I used ‘bpmn-js-seed-master’ as example and now I can view both toolbox and the diagram. I don’t need the BPMN diagram dispalyed there so I am trying not to display the diagram on page load (I know I can erase it though)

My initial requirement is to have a working system like this: [https://demo.bpmn.io/](https://demo.bpmn.io/), [https://demo.bpmn.io/new](https://demo.bpmn.io/new) where I can create a bpmn diagram and save it. Also I should be able to upload a diagram and change it. Working on it now.

Please advise if there is an easy way out.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![autuni](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@autuni](https://forum.bpmn.io/u/autuni)\
**Post date:** [October 29, 2017, 5:03am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/7 "2017-10-29T05:03:11Z")

</div>

Hi,

I have some other question please.

Is it possible to get the modeller working for me without any NodeJs server setup? I mean is it possible to use apache with simple JS for my requirement please?

Once I get this working and running, i need to add more elements to the toolkit, is that still possible with JS without any NodeJS environment please?

Code such as var Modeler = require(‘bpmn-js/lib/Modeler’); does not work so I just am wondering if I need NodeJS to proceed with this.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![felixlinker](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/f/e68b1a/32.png) [@felixlinker](https://forum.bpmn.io/u/felixlinker)\
**Post date:** [October 30, 2017, 9:39am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/8 "2017-10-30T09:39:58Z")

</div>

You can use bpmn-js without any specific server-architecture behind it by bundling all your source-files with [browserify](http://browserify.org/). This compiles all your source files into one that can be loaded by the browser.

The bpmn-js team automates this using [grunt](https://gruntjs.com/) which is configured via a `Gruntfile.js`. You can find an example here: [https://github.com/bpmn-io/bpmn-js-examples/blob/master/modeler/Gruntfile.js](https://github.com/bpmn-io/bpmn-js-examples/blob/master/modeler/Gruntfile.js)

---

<div class="post-metadata">

**Author:** ![autuni](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@autuni](https://forum.bpmn.io/u/autuni)\
**Post date:** [October 30, 2017, 9:54pm UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/9 "2017-10-30T21:54:04Z")

</div>

Hi felixlinker,

Thank you very much for your response and for the detailed description. I will try as advised, thanks.

This will help me overcoming the issues I face I guess.

Thank you again!

---

<div class="post-metadata">

**Author:** ![barmac](https://forum.bpmn.io/user_avatar/forum.bpmn.io/barmac/32/974_2.png) [@barmac](https://forum.bpmn.io/u/barmac)\
**Post date:** [July 9, 2025, 10:10am UTC](https://forum.bpmn.io/t/how-to-create-a-web-app-with-bpmn-js-which-can-draw-bpmn-diagrams/1883/11 "2025-07-09T10:10:06Z")

</div>

Closed on July 9, 2025, 10:10am UTC

Closing old topics.
