|
1 | | -# Performing-data-and-CRUD-operations-in-ej2-typescript-grid-using-GraphQLAdaptor |
| 1 | +# Connecting GraphQL Service with Typescript Grid Control |
2 | 2 |
|
3 | | -Discover seamless data integration with Syncfusion's EJ2 TypeScript Grid using GraphQLAdaptor in this sample repository. Explore efficient techniques for handling filtering, sorting, paging operations, and CRUD operations within your TypeScript applications, empowering you to manage and display data effectively. |
| 3 | +GraphQL is a powerful query language for APIs, designed to provide a more efficient alternative to traditional REST APIs. It allows you to precisely fetch the data you need, reducing over-fetching and under-fetching of data. GraphQL provides a flexible and expressive syntax for querying, enabling clients to request only the specific data they require. |
4 | 4 |
|
5 | | -## Add Syncfusion Grid control in your application |
| 5 | +Syncfusion’s Grid component seamlessly integrates with GraphQL servers using the GraphQLAdaptor in the DataManager. This specialized adaptor simplifies the interaction between the Syncfusion Grid and GraphQL servers, allowing efficient data retrieval with support for various operations like CRUD (Create, Read, Update, Delete), paging, sorting, and filtering. |
6 | 6 |
|
7 | | -Refer the following UG documenation for adding Syncfusion TypeScript control in your application |
8 | | -* [Getting Started of Syncfusion TypeScript Grid control](https://ej2.syncfusion.com/typescript/documentation/grid/getting-started) |
| 7 | +## Add Syncfusion Grid component in your application |
| 8 | + |
| 9 | +Refer the following UG documenation for adding Syncfusion Grid component in your application |
| 10 | +* [Getting Started of Syncfusion TypeScript Grid component](https://ej2.syncfusion.com/documentation/grid/getting-started) |
9 | 11 |
|
10 | 12 | ## GraphQL Server setup |
11 | 13 |
|
12 | 14 | You can setup GraphQL server by using `graphpack` npm package. Find the following link for getting more details for your reference. |
13 | | -[`https://www.npmjs.com/package/graphpack`](https://www.npmjs.com/package/graphpack) |
| 15 | + |
| 16 | +* [graphpack npm package](https://www.npmjs.com/package/graphpack) |
14 | 17 |
|
15 | 18 | ## Run the GraphQL Server |
16 | | -To run the server, you need to install the required pacakges using the below command |
| 19 | + |
| 20 | +To run the server, install the required packages using the following command: |
| 21 | + |
17 | 22 | ```bash |
18 | 23 | npm install |
19 | 24 | ``` |
20 | | -and run using |
| 25 | +Then, start the server with: |
21 | 26 | ```bash |
22 | 27 | npm run dev |
23 | 28 | ``` |
24 | 29 | ## Run the client Grid application |
25 | | -To run the client, you need to install the required pacakges using the below command |
26 | | -``` |
27 | | -npm install |
28 | | -``` |
29 | | -and run using |
30 | | -``` |
| 30 | + |
| 31 | +To run the client-side Syncfusion Grid application, use the following command: |
| 32 | + |
| 33 | +```bash |
31 | 34 | npm start |
32 | 35 | ``` |
33 | | -Now the Grid will be launched in the browser `http://localhost:xxxx/`. |
| 36 | + |
| 37 | + |
34 | 38 |
|
35 | 39 | ## Resources |
36 | 40 |
|
37 | | -You can also refer the below resources to know more details about Syncfusion TypeScript Grid control. |
38 | | -* [Demo](https://ej2.syncfusion.com/typescript/demos/#/material3/grid/over-view) |
39 | | -* [Documentation](https://ej2.syncfusion.com/typescript/documentation/grid/getting-started) |
40 | | -* [GraphQL with Syncfusion DataManager](https://ej2.syncfusion.com/typescript/documentation/grid/connecting-to-adaptors/graphql-adaptor) |
| 41 | +You can also refer the below resources to know more details about Syncfusion Typescript Grid Control. |
| 42 | + |
| 43 | +* [Demo](https://ej2.syncfusion.com/demos/#/bootstrap/grid/over-view) |
| 44 | +* [Documentation](https://ej2.syncfusion.com/documentation/grid/getting-started) |
| 45 | +* [GraphQL with Syncfusion DataManager](https://ej2.syncfusion.com/documentation/grid/connecting-to-adaptors/graphql-adaptor) |
0 commit comments