{"repo":"rafaelalmeidatk/nextjs-forum","free":true,"listed":false,"github":"https://github.com/rafaelalmeidatk/nextjs-forum","clone":"git clone https://github.com/rafaelalmeidatk/nextjs-forum.git","description":"The Next.js Discord server indexed in the web","language":"TypeScript","stars":190,"topics":["bot","discord","next","nextjs","react"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Next.js Discord Forum The Next.js Discord server indexed in the web Getting Started This repo contains the code for both the Discord bot that index the posts and the front-end app Installing the dependencies Configuring the env vars If you are developing locally, you need to create .env files in both the apps/web and app/bot folder. Refer to the table below for all the env vars in the project Project: apps/web Name Description Required? ---------------------- -------------------------------------------------------------------------------------------------------- --------- DATABASE URL The read-only connection string to connect to the DB, used to query the posts and messages ✔️ REVALIDATE SECRET The secret that allows remote revalidations to the app cache. This var should also be set in the bot app ✔️ NEXT PUBLIC BASE URL The URL where the app is hosted ❌ Project: apps/bot Name Description Required? ------------------------ ----------------------------------------------------------------------------------------------------------------------- --------- DISCORD BOT TOKEN The token for the bot. If you don't have a bot yet, go to the bot project section for more details on how to create one ✔️ DISCORD CLIENT ID Client ID of the bot app ✔️ DEV GUILD ID The ID of the Discord server to register dev commands with pnpm dev:register-commands ❌ PUBLIC PROFILE ROLE ID The ID of the role to make Discord profiles public in the database ❌ HELPER ROLE ID The ID of the role that allows for sel","default_branch":null,"files":null,"tree":[],"storefront":"/r/rafaelalmeidatk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rafaelalmeidatk/nextjs-forum/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}