Build an Angular App in 5 Minutes

Image for post
Image for post

No, I don’t want to bother you with useless text. Actually you can ignore the text outside of the grey boxes and just copy & paste the commands into your Terminal — have fun.

  1. Install Angular CLI
npm install -g @angular/cli typescript

2. Create a new app with Angular CLI

ng new angular-material-seed
cd angular-material-seed

3. Install Angular Material and Angular Animations

npm install --save @angular/material @angular/animations

4. Add module dependencies to app/app.module.ts

5. Design a very basic and simple html in app.component.html

6. Import a basic style in app/styles.css

7. Add icons link in index.html

8. Start the application

ng serve

Result

Image for post
Image for post

Links:

https://material.angular.io

Source code:

https://github.com/leantrace/angular-material-seed

Techstack: Angular4 and Material2

Written by

Hi my name is Alexander Schamne. I am an passionate Entrepreneur and Software Engineer with Lean Product Development experience.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store