Code Monkey home page Code Monkey logo

joinassembly's Introduction

Join Assembly Task

Installation process

  1. Clone Repo
  2. Run command "npm install" or "npm i"
  3. I configured with port 5000 if you wants to change you can change in app.js.
  1. First Test Case: http://localhost:5000/api/visitors?date=1388514600000
{
    "success": true,
    "attendance": {
        "month": "Jan",
        "year": "2014",
        "highest": {
            "museum": "avila_adobe",
            "visitors": 24778
        },
        "lowest": {
            "museum": "chinese_american_museum",
            "visitors": 1581
        }
    },
    "total": 42612
}
  1. Second Test Case 1: http://localhost:5000/api/visitors?date=1388514600000&ignore=pico_house
{
    "success": true,
    "attendance": {
        "month": "Jan",
        "year": "2014",
        "highest": {
            "museum": "avila_adobe",
            "visitors": 24778
        },
        "lowest": {
            "museum": "chinese_american_museum",
            "visitors": 1581
        },
        "ignore": {
            "museum": "pico_house",
            "visitors": 2204
        }
    },
    "total": 42612
}
[
    {
        "month": "2014-01-01T00:00:00.000",
        "america_tropical_interpretive_center": "6602",
        "avila_adobe": "24778",
        "chinese_american_museum": "1581",
        "firehouse_museum": "4486",
        "hellman_quon": "0",
        "pico_house": "2204",
        "visitor_center_avila_adobe": "2961",
        "timestamp": "1388514600000"
    },
    {
        "month": "2014-02-01T00:00:00.000",
        "america_tropical_interpretive_center": "5029",
        "avila_adobe": "18976",
        "chinese_american_museum": "1785",
        "firehouse_museum": "4172",
        "hellman_quon": "0",
        "pico_house": "1330",
        "visitor_center_avila_adobe": "2276",
        "timestamp": "1391193000000"
    },
    ...
]

joinassembly's People

Contributors

dl95 avatar

Watchers

 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.