Skip to content

Development Guide

This guide explains how to set up and run the Sports Live project locally for development.
Follow these steps to ensure your environment is consistent with the rest of the team.


Before starting, make sure you have these tools installed:

  • Git (version control) → Download
  • Node.js (LTS)Download
  • npm (comes with Node.js)
  • VS Code (recommended IDE) → Download
  • MongoDB Atlas account for cloud database → Sign Up
  • Docker (optional, for containerized setup) → Download

Terminal window
git clone https://github.com/DevHackerGamer/sports-live.git
cd sports-live


Create a .env file in the root

Terminal window
MONGO_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/sports-live
PORT=5000
CLERK_SECRET_KEY=your_clerk_secret_key
FOOTBALL_API_TOKEN=your_api_key

Frontend (React) + Backend(Express + MongoDB)

Section titled “Frontend (React) + Backend(Express + MongoDB)”
Terminal window
cd backend
npm install
npm run dev

Sports Live Uses Clerk for authentication

  • Login Page -> /LoginPage.js
  • Protected routes → Reports, Players, and Admin pages
  • Clerk session tokens are automatically included in API requests

The app is deployed on Render with automatic builds from the GitHub repo.

Type: Web Service

Build Command: npm install && npm run build

Start Command: npm run start

Type: Static Site

Build Command: npm install && npm run build


  • Code is linted and formatted before commits (ESLint + Prettier).

  • Pull requests require successful test runs before merging.

  • Sprint reviews collect feedback for improving dev workflows.