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
Copy file name to clipboardExpand all lines: README.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
This app is composed of three services based on the gRPC protocol: User, Auth, and Quote. These services communicate with each other and clients via the gRPC protocol and admin can manage users(editor) and quotes and users can get random quotes.
4
4
5
5
**User Service**
6
+
6
7
The User Service provides functionality related to managing user(quote editor) information.
7
8
Methods:
8
9
@@ -12,13 +13,15 @@ Methods:
12
13
- removeUser
13
14
14
15
**Auth Service**
16
+
15
17
The Auth Service handles user authentication and authorization.
16
18
Methods:
17
19
18
20
- login
19
21
- verifyToken
20
22
21
23
**Quote Service**
24
+
22
25
The Quote Service retrieves and manages quotes.
23
26
24
27
- findOneQuoteById
@@ -28,9 +31,11 @@ The Quote Service retrieves and manages quotes.
28
31
- updateQuote
29
32
30
33
**Proto Files**
34
+
31
35
for more info about methods and input/output types check out proto directory
32
36
33
37
**API Gateway**
38
+
34
39
The API Gateway serves as an entry point for clients to communicate with the gRPC services. It translates HTTP requests to gRPC requests and vice versa.
35
40
36
41
- Port: 3000
@@ -42,13 +47,21 @@ To access the services through the API Gateway, send an HTTP request to the appr
42
47
## Demo
43
48
44
49

50
+
45
51

52
+
46
53

54
+
47
55

56
+
48
57

58
+
49
59

60
+
50
61

62
+
51
63

64
+
52
65

53
66
54
67
## Installation
@@ -92,7 +105,7 @@ npm run start:dev quote
92
105
npm run start:dev
93
106
```
94
107
95
-
The server will start and listen on port 3000.
108
+
The server will start and listen on port **3000**.
0 commit comments