/AngularApp_SandBox

This project dives deep in what is needed to become a better Angular5 Front-End Developer. Topics include: (Components, Events & Forms, Services, HTTP,Input & Output, Angular router, general Syntax)

Primary LanguageTypeScript

AnguarApp


Jose Ramirez Dev. Notes


Mostly a reference application for how to use services, Forms & Events with various validations, HTTP module, how to use Angluar Router etc... also How to post, get, update ,and delete to an API using Angular 5.

Tools & Assets:

  • Chrome extension: Augury
    -(For debugging and visualizing angular applications at runtime)
  • Image placeholders: www.lorempixel.com
  • JSON placeholder: https://jsonplaceholder.typicode.com/
    -(free online REST service that you can use whenever you need some fake data, you can GET, POST, PUT, PATCH, DELETE)

Additional Dependencies added

  • Bootstrap V4 - jQuery - Popper.js: npm install bootstrap@4.0.0-beta.2 jquery popper.js
    -A Popper is an element on the screen which "pops out" from the natural flow of your application.
    Docs: https://github.com/FezVrasta/popper.js
  • Font Awesome: npm install font-awesome

-Note for dependencies above: modify .angular-cli.json to add necessary styles and scripts for bootstrap and font-awesome dependencies. Then you can use inside your "componentName.component.html" files.



This project was generated with Angular CLI version 1.6.8.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app 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. Use the -prod flag for a production build.

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

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.