|
1 | | -# MyGridApp |
| 1 | +# How to Perform CRUD Operations on Angular Grid Using Observables and Async Pipe? |
| 2 | +A quick start project that helps you to create the Syncfusion Angular Grid and bind observable list to it. You will also learn how to perform CRUD operations with list observable using async pipe. |
2 | 3 |
|
3 | | -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.8. |
| 4 | +Watch the video now: https://www.syncfusion.com/tutorial-videos/angular/grid?title=perform-crud-operations-in-angular-grid-using-observables |
| 5 | +Documentation: https://ej2.syncfusion.com/angular/documentation/grid/observables/ |
| 6 | +Online example: https://ej2.syncfusion.com/angular/demos/#/material/grid/async-pipe |
4 | 7 |
|
5 | | -## Development server |
| 8 | +## Project pre-requisites |
| 9 | +Make sure that you have the compatible versions of TypeScript and Angular in your machine before starting to work on this project. |
| 10 | +* Angular 4+ |
| 11 | +* TypeScript 2.6+ |
6 | 12 |
|
7 | | -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. |
| 13 | +## How to run this project? |
8 | 14 |
|
9 | | -## Code scaffolding |
| 15 | +Run the command "npm install" to install all the required packages to your project and then run the `ng serve` command for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. |
10 | 16 |
|
11 | | -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`. |
12 | 17 |
|
13 | | -## Build |
| 18 | +## How to run this application? |
| 19 | +To run this application, you need to first clone the `how-to-perform-CRUD-operations-on-angular-grid-using-observable-and-async-pipes` repository and then navigate to its appropriate path where it has been located in your system. |
14 | 20 |
|
15 | | -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. |
| 21 | +To do so, open the command prompt and run the below commands one after the other. |
16 | 22 |
|
17 | | -## Running unit tests |
| 23 | +``` |
| 24 | +git clone https://github.com/SyncfusionSamples/how-to-perform-CRUD-operations-on-angular-grid-using-observable-and-async-pipes grid-example |
| 25 | +cd grid-example |
| 26 | +``` |
18 | 27 |
|
19 | | -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). |
| 28 | +## Installing |
| 29 | +Once done with downloading, next you need to install the necessary packages required to run this application locally. The `npm install` command will install all the needed angular packages into your current project and to do so, run the below command. |
20 | 30 |
|
21 | | -## Running end-to-end tests |
| 31 | +``` |
| 32 | +npm install |
| 33 | +``` |
22 | 34 |
|
23 | | -Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). |
| 35 | +## Running on development server |
| 36 | +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. |
24 | 37 |
|
25 | 38 | ## Further help |
26 | 39 |
|
|
0 commit comments