Skip to content

k435467/react-game-schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-race-schedule

A game schedule.

  • React
  • TypeScript
  • React Router
  • Json-Server for a fake backend
  • Scroll dates or schedule on drag

Usage

Run

npm

npm i  # install dependencies
npm run backend  # for api on port 5000
npm run start  # for react app

yarn

yarn  # install dependencies
yarn backend  # for api on port 5000
yarn start  # for react app

API

IGameDate

{
  "id": string,
  "text": string,
}

IGameInfo

{
  "id": number,
  "time": string,
  "gameType": string,
  "location": string,
  "team1": string,
  "team1Num": number,
  "team1LogoUrl": string,
  "team2": string,
  "team2Num": number,
  "team2LogoUrl": string,
}