This is a stripped down copy of the code behind The Forest, a dynamic, living Gather map.
Also a great example of a simple mod built with the Gather API!
This template is aimed to get me up and running as quickly as possible. I hope it helps you too!
prereq: have NodeJS and npm or pnpm installed
- Run
npm i
orpnpm i
, whichever you prefer. - Copy
example.api-key.ts
, removeexample.
from the name, and replace the example key with your own:
export const API_KEY = "your-api-key-here"
- Replace the
SPACE_ID
andMAP_ID
inindex.ts
with your own
npm run start