Giter Site home page Giter Site logo

frontend-challenge's Introduction

Sheypoor 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 Sheypoor(React / Knockout.js) or whatever you like
  • use npm to manage dependencies, there is pre-initialized package.json included in this repo

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 us via email (jobs AT sheypoor.com) :)

frontend-challenge's People

Contributors

saeedseyfi avatar mbrostami avatar soheil-waysee avatar

Watchers

Ahmad Khani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.