Skip to content

Getting Started

This guide helps you set up Sports Live on your machine for development, testing, or deployment.


Before starting, make sure you have:

  • Node.js v18+
  • npm or yarn
  • Git for version control
  • MongoDB Atlas account (or local MongoDB instance)
  • Clerk account for authentication setup

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

Create a .env.local file in the root directory:

Terminal window
# Clerk Authentication
REACT_APP_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
# MongoDB
MONGODB_URI=your_mongodb_connection_string
# Server
PORT=8000

Start frontend and backend together with:

Terminal window
npm run dev

IssueSolution
MongoNetworkErrorCheck your MongoDB URI and IP whitelist in Atlas.
Clerk login page not loadingVerify REACT_APP_CLERK_PUBLISHABLE_KEY is set correctly.
Port conflictsMake sure no other process is running on port 3000 or 5000.

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

🔍 Want to know what makes Sports Live special? Check out the Features & Overview page.