GithubHelp home page GithubHelp logo

angular102's Introduction

Angular 8 Learning Exercises from O'Reilly book "Angular - Up & Running"

  • Project: Stock-market

    • Component stock-item demonstrates data binding
    • Component stock-item2 demonstrates a model
    • Component stock-item3 demonstrates ngClass directive
    • Component stock-item4 demonstrates ngStyle directive
    • Component stock-item5 demonstrates ngIf directive
    • Component stock-item6 demonstrates ngFor directive
    • Component stock-item7 demonstrates @Input and @Output
    • Component create-stock demonstrates template-driven forms using value and data binding
    • Component create-stock2 demonstrates template-driven forms using ngModel directive
    • Component create-stock3 demonstrates template-driven forms complete example
    • Component create-stock4 demonstrates template-driven formgroup example
    • Component stock-item8 demonstrates reactive-forms using form controls
    • Component stock-item9 demonstrates reactive-forms using form group
    • Component stock-item10 demonstrates reactive-forms using form builder
    • Component stock-item11 demonstrates reactive-forms using validation
    • Component stock-item12 demonstrates reactive-forms copying data from component to UI
    • Component stock-item13 demonstrates reactive-forms with form arrays
  • Project: Stock-market2

    • Components stock-item and stock-list demonstrates services and observables
    • Service Stock-Service2 demonstrates HttpClient
    • Service AuthService helps demonstrate HttpClient interceptor concept
  • Project: Stock-market3

    • This project demonstrates the routing concepts in Angular
  • Start the Ng server ng serve and access it via http://localhost:4200

  • Start the Stock API server following the instructions:

    • cd server
    • npm i - installs all the dependencies for the Node.js server
    • node index.js - starts the server on port 3000

Angular CLI Reference

  • ng serve to start the server
  • ng serve --proxy-config proxy.conf.json to start server with proxy configs for CORS
  • ng new <project> create new project
  • ng generate component <dir/name> create new component
  • ng g class <dir/name> create new model class
  • ng g service <dir/name> create new service.
  • ng g module app-routes --flat --module=app - create new module named app-routes.module.ts under folder /app

angular102's People

Contributors

fizalihsan avatar dependabot[bot] avatar

Watchers

James Cloos 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.