-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
micro-services.py
164 lines (164 loc) · 4.26 KB
/
micro-services.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
microservices = {
"movie_service": {
"description": "Handles all movie-related operations",
"framework": "Django",
"database": "MySQL",
"endpoints": [
"/api/movies",
"/api/movies/{id}",
]
},
"user_service": {
"description": "Manages user authentication and profiles",
"framework": "Flask",
"database": "MongoDB",
"endpoints": [
"/api/users",
"/api/users/{id}",
]
},
"rating_service": {
"description": "Handles movie ratings and reviews",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/ratings",
"/api/ratings/{id}",
]
},
"recommendation_service": {
"description": "Generates movie recommendations for users",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/recommendations",
"/api/recommendations/{id}",
]
},
"search_service": {
"description": "Handles movie search",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/search",
"/api/search/{id}",
]
},
"notification_service": {
"description": "Handles notifications for users",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/notifications",
"/api/notifications/{id}",
]
},
"payment_service": {
"description": "Handles payments for users",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/payments",
"/api/payments/{id}",
]
},
"analytics_service": {
"description": "Handles analytics for the application",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/analytics",
"/api/analytics/{id}",
]
},
"admin_service": {
"description": "Handles admin operations",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/admin",
"/api/admin/{id}",
]
},
"account_service": {
"description": "Handles user accounts",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/accounts",
"/api/accounts/{id}",
]
},
"subscription_service": {
"description": "Handles user subscriptions",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/subscriptions",
"/api/subscriptions/{id}",
]
},
"content_service": {
"description": "Handles content management",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/content",
"/api/content/{id}",
]
},
"review_service": {
"description": "Handles movie reviews",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/reviews",
"/api/reviews/{id}",
]
},
"genre_service": {
"description": "Handles movie genres",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/genres",
"/api/genres/{id}",
]
},
"actor_service": {
"description": "Handles movie actors",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/actors",
"/api/actors/{id}",
]
},
"director_service": {
"description": "Handles movie directors",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/directors",
"/api/directors/{id}",
]
},
"crew_service": {
"description": "Handles movie crew",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/crew",
"/api/crew/{id}",
]
},
"company_service": {
"description": "Handles movie companies",
"framework": "Flask",
"database": "MySQL",
"endpoints": [
"/api/companies",
"/api/companies/{id}",
]
},
}