Matt Rider d463312397 Get avatar upload working from frontend to backend
- there are several things to work on still
- the upload sets the avatar as the background image of the previewElement, which means that you must refresh the page to upload a different avatar
- the CSS is slightly different before and after successful upload
- the CSS is slightly broken in that the avatar is not in the "ideal" place, it is entirely inside the card, instead of half in, half out on the top
2019-05-20 16:37:02 -03:00
..
2019-05-10 10:30:02 -03:00
2019-05-20 15:37:08 -03:00
2019-03-20 21:06:17 +01:00
2019-04-23 19:16:24 +02:00
2019-04-15 19:53:34 -03: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-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-03-20 21:06:17 +01:00
2019-04-12 13:28:10 +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 fronten!