Giter Club home page Giter Club logo

volumemanager's Introduction

Volume Manager

Setup

  1. Run npm install
  2. Get an API key from your vm. Replace ARRAY_NAME and API_TOKEN in env.py
  3. Run ./dev to run the flask server in debug mode
  4. In another terminal, run npm run tsc:w to watch and transpile typescript as you modify files

Part 1

  • Display Volume data using string interpolation
  • Inline templating
  • Two way data binding using ngModel from FormsModule on input tag

Part 2

  • Display list of selectable volumes
  • Select a volume and show it's details
  • Structural directives (ngFor, ngIf), event bindings (click), and property bindings (class.)

Part 3

  • Create a reusable component
  • Pass inputs to component
  • Declare dependencies in NgModule
  • Bind data from parent component to child component

Part 4

  • Create a reusable service to fetch data
  • Use ngOnInit lifecycle hook to get data on component init
  • Use providers array to specify service as a provider for component
  • Mock out volumes data and expose to component as an Observable

Part 5

  • Add Component Router for navigation
  • routerLinks and routerOutlets
  • Shared services
  • templateUrl and styleUrls properties of components
  • uppercase pipe

Part 6

  • Add HttpModule as dependency
  • Refactor VolumeService to load data from web server
  • Add support for POST, PUT, and DELETE to VolumeService
  • Update components to allow CRUD operations

volumemanager's People

Contributors

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