In case there is no internet connection axios will not return a response object with the error after a request. Since we still tried to access said object the website crashed when there was no internet connection. |
||
|---|---|---|
| js | ||
| pages | ||
| static | ||
| .eslintrc.json | ||
| .gitignore | ||
| .hound.yml | ||
| README.md | ||
| next.config.js | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||
| style.css | ||
| yarn.lock | ||
README.md
turniere-frontend
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
Afterwards you may simply run the developer version of the project:
$ yarn run dev