SportSee

Getting Started

Prerequisites

# Check Node.js version
node --version

IDE

Instructions

  1. Fork this repo
  2. Clone the repo onto your computer
  3. Open a terminal window in the cloned project
  4. Run the following commands:
# Install dependencies
npm install
# Start local dev server
npm start
# Build the app for production
npm run build

Switch from MockData to API-Data

You can switch from mocked data to API data in your .env.

# .env / default value / API data
REACT_APP_MOCK_ACTIVE=false
#.env / Mock Data
REACT_APP_MOCK_ACTIVE=true

Endpoints

This project includes four endpoints that you will be able to use: