How can I close meeting

How can I close the meeting and kick all participants?
Please share an example of code.
Thank you.

Here’s the code

How should I add this code to my server?
There is no react/features/ directory in my installation.

Guidance on how to use/implement this, please?