Teste Técnico Frontend

Storecast

Javascript, React, Typescript, Vue

Berlin - Alemanha

Software - Varejo

10 - 50

Com a ajuda da Storecast, os clientes vivenciam apresentações digitais sob medida de produtos, tornando a compra uma experiência que, por sua vez, aumenta a fidelidade do cliente e gera dados

Sobre o Teste

O desafio técnico consiste em implementar um wizard de duas etapas para criar uma conta de usuário. Não há restrições de UX ou UI, isso fica a seu critério. As informações do usuário que precisamos coletar são nome, idade, e-mail e newsletter. Você pode, por exemplo, coletar o nome e a idade na primeira etapa e o e-mail e a newsletter na segunda etapa. Você pode usar uma biblioteca de roteamento para que cada etapa seja uma rota separada, mas isso é completamente opcional e não é obrigatório. A implementação pode ser feita em JavaScript puro ou em um dos frameworks que usamos na Storecast (React / Vue.js). Use o npm para gerenciar as dependências. Sinta-se à vontade para usar o create-react-app ou o webpack como ferramentas de build. Você também pode usar uma linguagem com tipagem estática como TypeScript ou simplesmente o flowtype. Para começar, faça um fork do repositório, implemente sua solução e crie um PR. Opcionalmente, você pode fazer o build do projeto e implantá-lo no Github Pages, caso contrário, forneça instruções detalhadas sobre como iniciar o projeto localmente.

Instruções do Teste

Storecast frontend-challenge

The task is to implement a 2 step UI wizard to create a user account. There is no UX or UI constraints, this is up to you to decide.

The User information that we need to collect is described in the User type: interface User { name: string age: number email: string newsletter: 'daily' | 'weekly' | 'monthly' } You can, for example collect the name and age in the first step and then email and newsletter in the second step. You may use a routing library such that every step is a separate route but this is completely optional and not required.

There is a dummy sdk package(implemented in the /sdk folder) which exports a createUser function. This function returns a Promise. Use it to simulate a request that creates a user account. Ex:

import { createUser } from 'sdk'
const details = {...}
createUser(details).then( ... )

The focus should be on code style and the way you approach the problem implementation wise. Feel free to use any other helper library although ideally the more code you write yourself the better.

Implementation requirements:

  • use either vanilla Javascript or one of the frameworks we use at Storecast(React / Vue.js)
  • use npm to manage dependencies, there is pre-initialized package.json included in this repo

Feel free to:

Getting started:

  • Fork the repo
  • Implement your solution
  • Create a PR against this repo

Optional: build the project and deploy (ie make it available as a static project) on Github Pages, otherwise please provide detailed instructions on how to start the project locally.

Any questions please contact me via email (agon.bina AT storecast.de) :)