Skip to content

tborges/angular-material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 

Repository files navigation

Angular 5, Material, Node JS, Weather API

In this sample app, we're using
  • Angular 5
  • Angular Material
  • Node.js
  • Express
  • npm

Running Locally

Make sure you have Node.js and the npm installed.

git clone git@github.com:tborges/angular-material.git # or clone your own fork
cd ng5-material
$ npm install
$ ng serve

Deployment

Use $ ng build --prod if your application is ready for production. It will reduce the size and increase speed of your application on the web.

$ ng build VS. $ ng build --prod
My small application went from 23mb to 2mb.


Loading time on 3G network: 8 seconds FAIR, 28% visitor loss due to loading time
VS.
Loading time on 3G network: 4 seconds GOOD, 10% visitor loss due to loading time

enter image description here

VS. enter image description here

Feel free to fork, modify and have fun with it. If you hit bugs, fill issues on github here.
This sample app is under MIT license.