# WebSDK sample app run on production mode

**URL:** <https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351>\
**Category:** Web\
**Tags:** faq\
**Created:** [May 16, 2021, 2:52pm UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351 "2021-05-16T14:52:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![phanhoangminh1704](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phanhoangminh1704/32/27168_2.png) [@phanhoangminh1704](https://devforum.zoom.us/u/phanhoangminh1704)\
**Post date:** [May 16, 2021, 2:52pm UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351/1 "2021-05-16T14:52:29Z")

</div>

**Description**  
I am having a problem running the sample app in production mode, can you guide me how to config and how to build it on the server? thanks

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 17, 2021, 8:59pm UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351/2 "2021-05-17T20:59:07Z")

</div>

Hi @phanhoangminh1704,

Thanks for reaching out, and welcome to our dev community! Which sample app are you working with?

If you’re working with our [main sample app](https://github.com/zoom/sample-app-web), you should be able to run this using Node/Express. If you haven’t yet, please check out our Quick Start guide:

> **[zoom/sample-app-web](https://github.com/zoom/sample-app-web)**
>
> Zoom Web SDK Sample App. Contribute to zoom/sample-app-web development by creating an account on GitHub.

Let me know if this helps—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![phanhoangminh1704](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phanhoangminh1704/32/27168_2.png) [@phanhoangminh1704](https://devforum.zoom.us/u/phanhoangminh1704)\
**Post date:** [May 18, 2021, 9:40am UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351/3 "2021-05-18T09:40:06Z")

</div>

![Screen Shot 2021-05-18 at 16.37.37](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/0/50dccf6bbec47e37c639923c01e0d2dd04572765.png)  
everything was fine when I used express.static to run the meeting, but in the end, it failed to load.  
 ![Screen Shot 2021-05-18 at 16.39.16](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/8/18a3e31cfe2d96eeb2ab96b79a101ee05b3e3ab3.png)

---

<div class="post-metadata">

**Author:** ![phanhoangminh1704](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phanhoangminh1704/32/27168_2.png) [@phanhoangminh1704](https://devforum.zoom.us/u/phanhoangminh1704)\
**Post date:** [May 18, 2021, 9:48am UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351/4 "2021-05-18T09:48:34Z")

</div>

do you have a sample app with expressjs?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 19, 2021, 4:22pm UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351/5 "2021-05-19T16:22:09Z")

</div>

Hi @phanhoangminh1704,

This sample app would be the closest thing. However, regarding the wasm files error, can you please make sure that you’re calling the wasm preload functions first thing in your index.js? If these aren’t loaded first thing, this can lead to this error.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![phanhoangminh1704](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phanhoangminh1704/32/27168_2.png) [@phanhoangminh1704](https://devforum.zoom.us/u/phanhoangminh1704)\
**Post date:** [May 20, 2021, 9:25am UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351/6 "2021-05-20T09:25:05Z")

</div>

how do i verify absolutely for my url, how can i track that user can only join 1 time, for example, i have an online class, user A buys it, then share the zoom link for Other non-paying users?

can you provide sample-app-web run with expressjs, I tried and failed, for example, I run with port 9000, it affects loading js file in node\_modules,  
localhost:9000/node\_modules/abc.js not found.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 21, 2021, 2:12pm UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351/7 "2021-05-21T14:12:27Z")

</div>

Hi @phanhoangminh1704,

For this use case, I would recommend using [registration](https://support.zoom.us/hc/en-us/articles/211579443-Setting-up-registration-for-a-meeting) for your meetings—this will allow you to generate unique join\_urls for each registrant, making sure that join\_urls can’t be shared.

Regarding sample apps, the link I shared previously is our main sample app. However, you might also find our React Sample App helpful as well, as another point of reference:

> **[zoom/websdk-sample-react](https://github.com/zoom/websdk-sample-react)**
>
> Use the Zoom Web SDK in a React App. Contribute to zoom/websdk-sample-react development by creating an account on GitHub.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 21, 2021, 12:12am UTC](https://devforum.zoom.us/t/websdk-sample-app-run-on-production-mode/50351/8 "2021-06-21T00:12:45Z")

</div>

Closed on June 21, 2021, 12:12am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
