Template Web App
Last updated
Was this helpful?
Last updated
Was this helpful?
The Morpheus Platform Template Web Application gives you a starting point to build your own web application. We have provided working example functionality that handles:
Launching embedded stream clients
Accessing an example Admin Dashboard
Auth/permission systems for logging into the admin page and checking permissions
Moderation dashboard for muting/banning players from your deployed experiences
These can be modified and tweaked to your project's needs, allowing developers to build off provided example content and features.
By default, the template app's landing page will be an embedded stream client, allowing users to join a configured world via GFN.
Users can log in via the /admin
route to access additional functionality such as the moderation/users dashboard.
Users with elevated permissions can then monitor, mute and ban players in worlds associated with your organisation/project.
Follow the steps below to set up and deploy your own version of our template app.
To deploy your own template application, follow the steps below to get started.
You can find the source code for the template application in this repository:
Follow the readme file to set up your development environment and install the relevant dependencies for local testing.
You can connect your Vercel deployment to a github repository containing your version of the template application, to support immediate deployments after each change.
You should ensure you configure the following environment variables in your project's settings (found in the template repo's README file):
Please follow the below guide on how to retrieve your Redis variables and set up moderation for your organisation:
For this guide, we recommend using to deploy your application. Vercel is particularly useful for deploying NextJS projects such as the template app, and allows for rapid development and deployment.