This guide walks you through cloning the repository, installing dependencies, and starting both the server and the client.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/discordplace/discord.place/llms.txt
Use this file to discover all available pages before exploring further.
Make sure you have completed all the steps in Prerequisites before continuing.
Create environment files
Create a Fill in the values for each file. See the Configuration overview for guidance on what each variable does.
.env file in both the server and client directories. You can use the example files as a starting point:The
CLIENT_SECRET value must be identical in both server/.env and client/.env. This shared secret is used by the server to verify requests coming from the client’s server-side rendering. You can use any random string, but it must match exactly on both sides.Start the server
From the repository root, start the Express.js server:The server listens on port
3001 by default.Start the client
In a separate terminal, start the Next.js client in development mode:The client listens on port
3000 by default.Next steps
Once the site is running, configure your Discord application, storage, and other services:Configuration overview
Understand how the
.env files and config files relate to each other.Client environment variables
Full reference for every variable in
client/.env.Server environment variables
Full reference for every variable in
server/.env.Server config.yml
Reference for
server/config.yml application settings.
