Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fc88c6

Browse files
committed
2 parents ca699f9 + c686d44 commit 0fc88c6

File tree

1 file changed

+107
-2
lines changed

1 file changed

+107
-2
lines changed

README.md

Lines changed: 107 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,107 @@
1-
# Message-Queue-System
2-
Golang Message Queue System using RabbitMQ
1+
# Message-Queue-System 📌
2+
3+
### Golang Message Queue System using RabbitMQ
4+
5+
### Requirement ::
6+
1. Golang
7+
2. MongoDb
8+
3. RabbitMQ
9+
4. Postman Api testing tool
10+
11+
12+
## A Backend application Implementing Message Queue System
13+
14+
Task
15+
16+
1.Create an REST API server in Golang which implements the endpoints to addProduct.
17+
18+
2.Push the code to GitHub and submit the URL of the git repository.
19+
20+
21+
### 📢 Functional requirements:
22+
23+
● Create api to insert
24+
25+
| Description | HTTP METHODS & URL | REQUEST | Response
26+
| ------------- | ------------- | -------- | --------
27+
| Endpoint for add Product | [POST] /addProduct | { <br> user_id:"int",<br> product_name:"string",<br>product_description:"string",<br> product_images:"[]string",<br> product_price:"int",<br> compressed_product_images: "[]string",<br> created_at:"time",<br> updated_at:"time"} | 200 OK (on success) <br> 400 Bad Request (if request format is invalid)
28+
29+
● Create 2 Services Producer and Consumer
30+
31+
● Make sure Producer can Consumer both should be connected to RabbitMQ Server
32+
33+
34+
## You Can Run this Message Queue Backed System
35+
36+
1. Locally 🚀
37+
38+
## Run Locally 🚀🚀
39+
40+
#### `Check-Point` :
41+
a. Make Sure You have Go installed in your local machine
42+
43+
b. Make Sure You have Mongodb installed in your local machine
44+
45+
c. Make Sure RabbitMQ should be installed in your local Machine
46+
47+
d. Make Sure to Postman API Testing Tool installed ~ For Testing Purpose
48+
49+
50+
## Directory:
51+
52+
![image](https://github.com/py3-coder/Message-Queue-System/assets/54509629/ab3d0fb6-1873-49e6-8335-5e7d367a61e6)
53+
54+
55+
56+
## Screenshots ✔✔
57+
58+
###### Image 01 : Start Producer Services
59+
![image](https://github.com/py3-coder/Message-Queue-System/assets/54509629/6b97cb0a-f6fd-48e4-8538-4c258803eb1e)
60+
61+
62+
###### Image 02 : Start Consumer Services
63+
![image](https://github.com/py3-coder/Message-Queue-System/assets/54509629/f4d5d07c-a1a8-4e5f-a9c8-c79feb68550f)
64+
65+
###### Image 02 : Add a Product
66+
![image](https://github.com/py3-coder/Message-Queue-System/assets/54509629/771ba81d-9852-48a8-9a6d-ac1b9ab16e61)
67+
68+
69+
###### Image 03 : Producer Service
70+
![image](https://github.com/py3-coder/Message-Queue-System/assets/54509629/ad447562-3c6c-4b2c-a18b-121892eea852)
71+
72+
73+
###### Image 04 : Consumer Services
74+
![image](https://github.com/py3-coder/Message-Queue-System/assets/54509629/d02ea089-5b66-48ee-82ae-a61ee75864d6)
75+
76+
77+
###### Image 05 : Image Downloaded in local dir
78+
![image](https://github.com/py3-coder/Message-Queue-System/assets/54509629/4e7a2940-343c-4315-a5d0-8256d5265e79)
79+
80+
81+
###### Image 06 : DataBase Updated Details:
82+
![image](https://github.com/py3-coder/Message-Queue-System/assets/54509629/7efd8144-1365-46ee-84f4-5331fa0424a4)
83+
84+
85+
86+
87+
## Tech Stack
88+
89+
**Language:** Go <br>
90+
**Database:** MongoDB <br>
91+
**MessageQueue:** RabbitMQ <br>
92+
**API-Testing:** PostMan <br>
93+
94+
## Authors
95+
96+
#### Saurabh Kumar
97+
- [py3-coder](https://www.github.com/py3-coder)
98+
99+
100+
101+
102+
103+
104+
105+
106+
107+

0 commit comments

Comments
 (0)