Giter Club home page Giter Club logo

kn-test's People

Contributors

noursammour avatar

Watchers

 avatar  avatar

kn-test's Issues

Test Task / Profile Page

The main goal:

The user should be able to edit his basic information (first name, last name, email)
Note: The user must login before edit his profile

Task Steps:

  • Fetch user info from api
  • use Redux/Immutable.js to manage your state
  • Display the values (first name, last name, email)
  • apply validation
    • first name: required
    • last name: required
    • email: required
  • submit the new values to the api

Tools must use

  • redux-connect to fetch user info before render profile page
  • redux-form to manage html form / validation

Note:

the app use custom build from this boilerplate
https://github.com/erikras/react-redux-universal-hot-example
if you have any issue in run the app or about the libraries search in their documentations/issues

API End Point:

Header:
  Authorization: Bearer authToken
Request Body:
{
    "name":"foo",
    "username":"ayman",
    "firstName":"foo",
    "lastName":"bar",
    "email":"[email protected]",
    "roleId":"572d775ecbb4e22d164579b8",
    "image":"image.png"
}
Note: the app will inject the `authToken` for you

keep the name, roleId, image static values ( no need to display it in the form)

Header:
  Authorization: Bearer authToken
Note: the app will inject the `authToken` for you

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.