Prerequisites
Before setting up Discord Forum API, make sure you have the following.
System Requirements
| Requirement | Version | Notes |
|---|---|---|
| Node.js | 20.x or later | Download |
| pnpm | 9.x or later | Install guide |
| Git | Any recent version | For cloning the repo |
Discord Requirements
You’ll need a Discord application with a bot. If you don’t have one yet, don’t worry—we’ll walk through creating one in the Discord Bot Setup guide.
What You’ll Need
- Discord Account with access to the Developer Portal
- Discord Server with at least one forum channel
- Admin permissions on the server where you’ll add the bot
Quick Checklist
- Node.js 20+ installed (
node --version) - pnpm 9+ installed (
pnpm --version) - Discord account ready
- Discord server with Community enabled
- Forum channel created (or will create one)
Installing Prerequisites
Node.js
Download and install from nodejs.org. Choose the LTS version.
Verify installation:
node --version# v20.x.x or higherpnpm
Install pnpm globally:
npm install -g pnpmOr use Corepack (included with Node.js 16.13+):
corepack enable pnpmVerify installation:
pnpm --version# 9.x.x or higherOptional Tools
These aren’t required but can be helpful:
| Tool | Purpose |
|---|---|
| Docker | For containerized deployment |
| Turso CLI | For Turso database management |
| VS Code | Recommended editor with great TypeScript support |
Hardware Requirements
Discord Forum API is lightweight:
| Use Case | RAM | Storage |
|---|---|---|
| Development | 512MB | 100MB |
| Small community (under 1000 threads) | 512MB | 500MB |
| Large community (10000+ threads) | 1GB+ | 2GB+ |
Next Steps
Ready to go? Head to the Quick Start guide to set up the project.