Giter Site home page Giter Site logo

fullstack-test's Introduction

Fullstack test

The assessment consists in building a dashboard for analyzing publishers site traffic insights.

Dashboard views are

Homepage

Homepage

Article Detail

Article Details

All data for feeding the dashboards can be found in server/dataset.json. It has the following shape

{
  "traffic_data": [{
    "id": "c0281ed3-160d-4be0-acc7-1dd9a62a4f78",
    "url": "https://www.example.com/article1",
    "author": "Maximilian",
    "image_url": "https://picsum.photos/600/400?buster=0.4005155557173643",
    "geo": "IT",
    "daily_traffic": [{
      "day": 1,
      "hourly_traffic": [{
        "hour": 0,
        "traffic": 743
      }, {
        "hour": 1,
        "traffic": 149
      }, {
        "hour": 2,
        "traffic": 546
      }, {
        "hour": 3,
        "traffic": 812
      }, ...
      {
        "hour": 23,
        "traffic": 768
      }]
    }, ...
    {
      "day": 31,
      "hourly_traffic": [{
        "hour": 0,
        "traffic": 143
      }, ...
      {
        "hour": 23,
        "traffic": 448
      }]
    }]
  }]
}

A basic scaffolding with some components is provided too.

# start app
$ npm start

# start server
$ npm run api

# start storybook
$ npm run storybook 

Base

Base

Components collection

Components collection

Feature requirements

  • Global view
    • Traffic is aggregated from all articles
    • Articles data is displayed ordered by traffic
    • Data can be filtered using top bar selector
    • Clicking on an article should navigate to article details view
  • Details view
    • Traffic is aggregated from the article
    • Data can be filtered using top bar selector
  • Api
    • should use generated dataset as database
  • Time selector
    • Should allow to select a value from:
      • Today
      • Yesterday
      • Last seven days
      • This month

time selector

fullstack-test's People

Contributors

marcmrf avatar yokeshwar93 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.