Skip to content

wieldlabs/superhub

Repository files navigation

far.quest Superhub

Superhubs are open-source hosts built by the team behind Wield Labs, used for apps such as far.quest. To start building right away, check out docs.far.quest.

See our developer documents at docs.far.quest.

Self-hosting Your Superhub

We've provided a starter Dockerfile for you, with MONGO_URL and JWT_SECRET as ARG parameters.

  1. You'll need a MongoDB server, either by deploying MongoDB yourself or using a hosted solution such as MongoDB Atlas.
  2. You'll also need to deploy this Dockerfile to a hosting location of your preference (Railway, Heroku, etc).

Running the wieldlabs/superhub repo

Welcome to the setup guide for Superhub! To start, you'll need node.js, yarn, and mongodb configured locally.

Once you have node.js, yarn and mongodb, you'll need to fill the following environment variables to have a fully operational Wield instance on localhost:

.env file setup

NODE_ENV=production
MONGO_URL=mongodb+srv://... # your local mongo url
JWT_SECRET=change-this

Once your environment is configured, run yarn dev --self-hosted to have a running instance, and play around with graphql commands at localhost:8080/graphql!

Useful Links