Skip to content

Example for an Angular application based on Angular Material

License

Apache-2.0, EUPL-1.2 licenses found

Licenses found

Apache-2.0
LICENSE-Apache-2.0
EUPL-1.2
LICENSE-EUPL-1.2
Notifications You must be signed in to change notification settings

ZuInnoTe/typescript-angular-example

Repository files navigation

This is a simple example frontend written in Typescript using Angular in combination with the Angular Material UI.

Compared to the standard Angular application generator it includes Angular Material UI with some sensible default settings and makes the icons/fonts available directly in the application without the need to fetch them everytime from Google.

The idea is that you simply can take this example and quickly write your application without the need to spend a lot of time on setting it initially up.

Note: Make sure that you have in your path the latest Node.js LTS version available.

You can try out the app on CodeSandbox and play live with the code: https://codesandbox.io/p/github/ZuInnoTe/typescript-angular-example/

This is how the demo app looks like in the browser:

Screenshot of Demo App

You see on the top a menu bar with 3 buttons:

  • On the left a "Module 1" button for Module 1 showing an Angular Material table
  • Next to it a "Module 2" button for Module 2 showing an advanced Angular Material form
  • On the right a setting button not doing anything

Code

The code is available under:

License

You can choose to either use EUPL-1.2 (Web) or Apache-2.0 (Web) license.

Build

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

Example for an Angular application based on Angular Material

Resources

License

Apache-2.0, EUPL-1.2 licenses found

Licenses found

Apache-2.0
LICENSE-Apache-2.0
EUPL-1.2
LICENSE-EUPL-1.2

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published