Single page web app for drafting
- Clone repo
yarn install
yarn start --reload
- will serve app @http://localhost:8080
Edit src/data.js
Example
export const teams = {
red: {
id: "red",
name: "Team Red",
playerNames: [],
},
blue: {
id: "blue",
name: "Team Blue",
playerNames: [],
},
};
export const players = {
XantoM: { name: "XantoM", country_code: "se" },
bps: { name: "bps", country_code: "se" },
Milton: { name: "Milton", country_code: "fi" },
henu: { name: "henu", country_code: "fi" },
};
Start development server at http://localhost:8080
, live-reloading changes.
yarn start --reload
Bundle and output build to build/
.
yarn build