Go to file
Daniel Schädler d03e63707b Remove unused param 2025-03-19 22:26:53 +01:00
chart Add helm chart 2022-06-09 21:22:37 +02:00
docker/production Switch to node 16 and fix paths 2022-06-11 23:18:14 +02:00
js turnie.re logo is wichtiger als timer 2025-03-19 22:17:30 +01:00
pages Remove unused param 2025-03-19 22:26:53 +01:00
public/static Support for Spiel Vorbei! string 2025-03-19 22:13:15 +01:00
.dockerignore Add .gitlab-ci.yml 2019-05-08 15:50:02 +02:00
.eslintrc.json Add some eslint rules 2019-05-09 14:48:43 +02:00
.gitignore Resolve any errors in the syntax 2019-04-08 11:08:43 +02:00
.gitlab-ci.yml Run eslint tests in test of gitlabci 2025-03-16 14:25:39 +01:00
.hound.yml Add proper name for eslint config file 2018-12-11 08:38:56 +01:00
README.md Fix todo as it is done 2025-03-19 22:26:46 +01:00
next.config.js Move all css imports into _app.js 2022-06-11 23:16:04 +02:00
package.json Fix icons by switching to react-icons 2025-03-15 13:40:50 +01:00
server.js Switch dev server to 3001 2024-04-07 15:30:07 +02:00
yarn.lock Fix icons by switching to react-icons 2025-03-15 13:40:50 +01:00

README.md

turniere-frontend

Codacy Badge

Quick install with Docker

turnie.re - Quickstart

Development Setup

Prerequisites

You'll need Node.js and a package manager for Node.js (like npm or Yarn; We recommend Yarn) installed on your system in order to run this program. You can see how to install Node.js here.

Setup the Project

First of course you'll need to clone this repository:

$ git clone https://github.com/turniere/turniere-frontend.git

Afterwards you'll have to install the used libraries using following command:

$ yarn install

Then you can run the development server by executing:

$ TURNIERE_API_URL=https://api.turnie.re yarn run dev

$ TURNIERE_API_URL=http://localhost:3000 yarn run dev

The environment variable TURNIERE_API_URL must contain an valid url to a turniere backend server.

In production environment the server runs on port 80, otherwise on port 3001.

Production Setup: Build the Docker Container

$ docker build -t turniere-frontend .

The built container exposes port 80.

Todo

showMatches={playoffStages !== null} showmatches in GroupStage mittlerweile vmtl useless weil immer eingeklappt