Code Monkey home page Code Monkey logo

sdg-dash's Introduction

sdg-dash

A prototype web application for exploring data and services related to the SDGs.

This dashboard-style application is built using EmberCLI. More instructions on setup & Ember are below.

View it Live

APIs setup

SDG APIs Overview

This application is driven by two APIs. The first contains all metadata related to the SDGs and can be found here: The SDG API. The second is an example API that gives the application JSON-structured data on how to lay out a set of "cards" in a dashboard for a specific geography and is found here: Sample SDG Dashboards API. This Sample Dashboards API will eventually be deprecated in favor of a future, more stable framework built on ArcGIS Open Data.

Once you have these APIs setup and running, in config/environment.js change the values any instance of sdgApi and sdgDashboardsApi to where you have hosted the respective APIs.

Example:

module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'sdg-dash',
    environment: environment,
    baseURL: '/',
    locationType: 'auto',
    EmberENV: {
      FEATURES: {
        // Here you can enable experimental features on an ember canary build
        // e.g. 'with-controller': true
      }
    },

    sdgApi: 'http://localhost:3000/',
    sdgDashboardsApi: 'http://localhost:3100/'

  };

Prerequisites to setup & run locally

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install
  • bower install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

Licensing

Copyright 2016 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.

[](Esri Tags: ArcGIS Web Mapping SDG Dashboard Ember OpenData) [](Esri Language: JavaScript)

sdg-dash's People

Contributors

apfister avatar joalvarez avatar

Watchers

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