Robert Schäfer 2736738c36 Fix @Tirokk's suggestions
Wow @Tirokk that was a good catch! I thought that the emitting side
knows the `index`, but no, it only emits `removePostFromList` and that's
it. In order to delete the right post, we have to pass in the `index`
ourselves. So, the caller of the function is the page component itself.

I didn't see the error myself, because in Javascript if you parse
`undefined` or `null` as Integer, you get 0 and it does not raise an
error.
2019-07-15 18:26:23 +02:00
..
2019-07-15 18:26:23 +02:00
2019-05-23 19:40:39 +02:00
2019-04-23 19:16:24 +02:00
2019-03-20 21:06:17 +01:00
2019-03-20 21:06:17 +01:00
2019-03-20 21:06:17 +01:00
2019-03-20 21:06:17 +01:00
2019-05-29 13:21:55 +02:00
2019-03-20 21:06:17 +01:00
2019-05-18 14:35:58 +02:00
2019-03-20 21:06:17 +01:00
2019-07-08 18:57:34 +02:00
2019-03-20 21:06:17 +01: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!