roschaefer 3d4724e314 Fix Cannot read property countUser of null
This commit message is a great example of why you should explain
**the reason** of your commit.

When I came across this bug I had a quick look into the code where it
came from. I could see that the bug only happened after a timer and
apparently reverting the biggest part of d84892930295dcfd3f6687fc33c7234446127099
would fix the bug. However I have no idea what the following commit
message means:

```
commit d84892930295dcfd3f6687fc33c7234446127099
Author: Grzegorz Leoniec <greg@app-interactive.de>
Date:   Wed Mar 6 18:45:57 2019 +0100

    Improved countTo component
```

I just don't know why the code is there - like what is it's purpose
@appinteractive? I can only guess: I believe that it's supposed to
update the counters in-place (without starting from 0 everytime).
Because apollo was set to poll the data every second.

Taking that into account I would rather remove this polling feature
completely and have less code and less complexity. Admins can still
refresh the page.
2019-08-16 00:28:13 +02:00
..
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-31 14:58:05 +02:00
2019-08-13 16:46:52 +02:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-08-09 13:41:26 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00

Webapp

UI Screenshot

Installation

# install all dependencies
$ yarn install

Copy:

cp .env.template .env
cp cypress.env.template.json cypress.env.json

Configure the files according to your needs and your local setup.

Build for Development

# serve with hot reload at localhost:3000
$ yarn dev

Build for Production

# build for production and launch server
$ yarn build
$ yarn start

Styleguide

All reusable Components for example avatar should be done inside the Nitro-Styleguide repository.

Styleguide Screenshot

More information can be found here: https://github.com/Human-Connection/Nitro-Styleguide

If you need to change something in the styleguide and want to see the effects on the frontend immediately, then we have you covered. You need to clone the styleguide to the parent directory ../Nitro-Styleguide and run yarn && yarn run dev. After that you run yarn run dev:styleguide instead of yarn run dev and you will see your changes reflected inside the frontend!