Git Product home page Git Product logo

workshop7_starter's Introduction

GDSC Workshop 7 (Angular + Typescript)

Hosted by: Daniel Henricks

All starter code is written by the GDSC Tech Leads.

About Angular

View Angular's website here: https://angular.dev/

Angular is a widely-used open-source web application framework developed and maintained by Google. Angular simplifies the process of building dynamic web applications by providing a structured framework for creating maintainable code. Its key features include two-way data binding (as covered today) and the particular structure of components.

Angular utilizes TypeScript. TypeScript is essentially JavaScript code with more strict type checking. We won't go too into detail about it during this workshop, but there will be noticable syntax differences.

Prerequisites:

  • You have Node.js installed

How to start this workshop:

  1. You must install Angular's command-line interface (CLI). Run the following command:
npm install -g @angular/cli
  1. Test to make sure the installation worked by running the command:
ng --help

What will we learn today?

  1. Why using Angular would make development easier.
  2. How to create an Angular component using the command
ng generate component [component-name]
  1. ngModel, *ngIf, *ngFor. To be seen in our form.component files.
  2. The structure of Angular's typescript files and what the app.module.ts file does.
  3. (If time permits) Deploying an app to GitHub Pages (a 'real' website!)

How do I install to gh-pages?

  1. Run ng build --configuration=production
  2. Add the option baseHref into the angular.json
  3. ng deploy

workshop7_starter's People

Contributors

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