Skip to content

Latest commit

 

History

History

angular-practice

Angular App

Live Demo : Angular-App

Project Description

Angular is a platform and framework for building single-page client applications using HTML and TypeScript. Angular is written in TypeScript. It implements core and optional functionality as a set of TypeScript libraries that you import into your apps.

This Projects Covers

  • Components Interaction
  • Directives
  • Angular Pipes
  • Angular Forms
  • RxJS
  • Dependency Injection
  • Angular Routing
  • Angular Animations
  • Angular Internationalization
  • Drag and Drop
  • Virtual Scrolling

Tools and Technologies

  • Technology: Angular-7, HTML, SCSS, i18n, Drag & Drop, Typescript.
  • Database : Angular Firebase.

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.

Run Fake Rest API server

npm install -g json-server
json-server --watch db.json 

Internationalization

ng xi18n --output-path src/locale

Resources

Further help

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

Deploying an Angular App to Firebase Hosting

1. Build:

ng build --prod

2. Install the Firebase command line tools:

npm install -g firebase-tools

3. Login using the Firebase CLI & initialize your project:

firebase login

4. Initialize the project using this command:

firebase init

5. Deploy to Firebase Hosting:

firebase deploy

Project Output

Project Output