MCPcopy Create free account
hub / github.com/RealDevSquad/website-backend

github.com/RealDevSquad/website-backend @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
828 symbols 2,286 edges 520 files ⚖ MIT 32 documented · 4% ● updated 12d ago★ 74439 open issues

Browse by type

⨍ Functions 811◇ Types & classes 17
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GitHub Workflow Status GitHub issues JavaScript Style Guide

Real Dev Squad API

Table of Contents

About the Project

This Project serves the backend APIs required for Real Dev Squad web projects. This project is built in Express.js.

Prerequisites

  • The application uses node-config(documentation) for managing config.
  • Create a new file: config/local.js. Override the required config values from config/development.js and config/default.js into config/local.js.
  • Register the application for GitHub OAuth to get the clientId and clientSecret. Add the callback URL as http://<HOSTNAME>:<PORT>/auth/github/callback
  • Create an application on FireStore and generate a service file. Add the service file credentials in the local config (or your env variables) as a string. Make sure you convert all the escape sequence (newline) - \n with \\n in private_key field.
  • For running the project locally, Firebase Local Emulator Suite can also be used instead of using the remote DB. Steps for setting it up: CONTRIBUTING.md - Using Firebase Emulator Locally

Starting Local Development

Please install pnpm version 12 (see pnpm installation). No separate node version manager is needed: this repo pins node 26.8.1 via the devEngines.runtime field in package.json, so pnpm automatically downloads and uses the correct node for all scripts (pnpm dev, pnpm test, …). Verify with pnpm exec node --version, which should print v26.8.1.

Local Development Setup

Install all the packages with a frozen lockfile, so versions stay exactly as locked:

pnpm install --frozen-lockfile

Confirm correct configuration setup

This command should be successful, before moving to development.

pnpm validate-setup

TDD Local Development

Head over to TDD Tests Files List, and add the list of your new (or old) test files.

You can use wildcard '*' in the filepaths

Run TDD in watch mode. Exiting this command will print the coverage report. Try to achieve 100% coverage.

pnpm tdd:watch

Running a server in Dev mode

pnpm dev

Production build and start

typescript (which provides tsc) is a devDependency on purpose — it is only needed to compile, not to run. So always build before pruning dev dependencies:

pnpm install --frozen-lockfile
pnpm test
pnpm run build # emits dist/ via tsc (tsconfig.json: outDir dist)
pnpm start     # runs node ./dist/server.js, does NOT rebuild

For local dev use pnpm dev (runs ts-node-dev server.js, no dist/ needed).

Check out our video on how to setup the backend here: Wiki link

Read more about contributing to the project: CONTRIBUTING

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 795
Method 16
Interface 9
Class 6
Enum 2

Languages

TypeScript100%

Modules by API surface

controllers/users.js36 symbols
models/users.js33 symbols
models/discordactions.js27 symbols
utils/userStatus.js21 symbols
models/tasks.js21 symbols
utils/users.js15 symbols
models/userStatus.js15 symbols
controllers/discordactions.js15 symbols
controllers/tasks.js14 symbols
utils/progresses.js13 symbols
utils/cache.js13 symbols
services/githubService.js13 symbols

For agents

$ claude mcp add website-backend \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page