You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a gRPC-based Node.js server implementing CRUD operations for a news list. It features a batched `GetNews` API, allowing efficient retrieval of multiple news items.
6
+
7
+
### Features
8
+
9
+
-**CRUD Operations**: Create, Read, Update, and Delete news items.
10
+
-**Batched News Retrieval**: Fetch multiple news items in a single request.
11
+
-**gRPC Interface**: Efficient and modern protocol for inter-service communication.
12
+
13
+
## Prerequisites
14
+
15
+
Before you begin, ensure you have installed:
16
+
-[Node.js](https://nodejs.org/en/download/)
17
+
-[npm](https://www.npmjs.com/get-npm)
18
+
19
+
## Installation
20
+
21
+
To set up the project, run the following command:
22
+
23
+
```bash
4
24
npm install
5
25
```
6
26
7
-
```
27
+
## Running the Server
28
+
29
+
Start the server with:
30
+
31
+
```bash
8
32
node server
9
33
```
34
+
35
+
## gRPC API
36
+
37
+
The server uses the following gRPC API defined in `news.proto`:
0 commit comments