Coder Social home page Coder Social logo

ysd-frontend-challenge's Introduction

Coding Challenge

We want you to create a simple app that lists some users in a table, and click each user to display some additional information about that given user. How much additional information you want to display for a given user, is up to you. We have provided you with a simple backend and a boilerplate React app, that should contain everything for you to get started. The list must contain the:

  • users name
  • username
  • email
  • phone number
  • company

Using the API

The API runs on a simple express backend, and runs on localhost port 3000, and has two endpoints

  • /api/users Returns a JSON collection with 10 users
  • /api/user/USER_ID Returns a specific user. USER_ID represents the id of the single user you want to fetch

Restrictions

  • You may not use a CSS framework such as Bootstrap

Requirements

  • You must use React
  • The app and table must be responsive, with a “mobile-first” approach in mind.
  • You must use appropriate YouSee colors. You can find the color palette here: https://dna.yousee.dk.
  • The users must be fetched asynchronously using JavaScript.
  • Unfortunately the backend is sometimes rather slow. So you must display a loading indicator while you're loading the data.
  • You must deliver the app in a git repository. You decide if you want to use GitHub, Bitbucket, GitLab or whatever.

Starting the application

  • Unzip the project
  • Open your terminal and navigate to the folder where you extracted the project to
  • Run npm install to install some dependencies
  • Open the project in your text editor
  • Start the backend by running npm start backend and then start the frontend by running npm start frontend in another window

ysd-frontend-challenge's People

Watchers

James Cloos avatar Martin Daniel Kolpak 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.