mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-11-11 16:33:55 +01:00
feat: merged with main
This commit is contained in:
commit
c18cdacb1a
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
# Create app directory
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
# Install app dependencies
|
||||||
|
|
||||||
|
# If you also need http-server globally
|
||||||
|
RUN npm install -g http-server
|
||||||
|
|
||||||
|
# Bundle app source
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
CMD ["http-server", "-p 8080"]
|
||||||
BIN
docs/Architecture_Requirements.docx
Normal file
BIN
docs/Architecture_Requirements.docx
Normal file
Binary file not shown.
0
docs/IndividualServices/AI.txt
Normal file
0
docs/IndividualServices/AI.txt
Normal file
12
docs/IndividualServices/analytics_service.txt
Normal file
12
docs/IndividualServices/analytics_service.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
1. Receive data from database
|
||||||
|
2. Calculate data:
|
||||||
|
a) User Count
|
||||||
|
b) Movies Count
|
||||||
|
c) Rating Count
|
||||||
|
d) Total data size
|
||||||
|
e) "Hot" movies -> movies that received most ratings during last
|
||||||
|
week
|
||||||
|
f) System logs (keeps tracks of all messages exchanged by all services)
|
||||||
|
1. timestamp (when was a message send)
|
||||||
|
2. Message raw data
|
||||||
|
3. Send requests to frondend upon request
|
||||||
0
docs/IndividualServices/backend.txt
Normal file
0
docs/IndividualServices/backend.txt
Normal file
0
docs/IndividualServices/frontend.txt
Normal file
0
docs/IndividualServices/frontend.txt
Normal file
0
docs/IndividualServices/notification.txt
Normal file
0
docs/IndividualServices/notification.txt
Normal file
BIN
docs/Meetings/first_meeting.docx
Normal file
BIN
docs/Meetings/first_meeting.docx
Normal file
Binary file not shown.
BIN
docs/project_management_meeting_one.docx
Normal file
BIN
docs/project_management_meeting_one.docx
Normal file
Binary file not shown.
25
docs/toDos/deployment_script.txt
Normal file
25
docs/toDos/deployment_script.txt
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
One script upon being ran should deploy the entire solution to some
|
||||||
|
cloud service
|
||||||
|
|
||||||
|
It should:
|
||||||
|
1. Build everything
|
||||||
|
2. Connect to cloud service (Azure?)
|
||||||
|
3. Send the data
|
||||||
|
|
||||||
|
After it will be run website should be accessible under some address
|
||||||
|
(cloud service should provide this address?)
|
||||||
|
|
||||||
|
Decide:
|
||||||
|
What cloud service? (Azure?) Requirements:
|
||||||
|
a. Free (https://github.com/cloudcommunity/Cloud-Free-Tier-Comparison)
|
||||||
|
b. Popular
|
||||||
|
AWS:
|
||||||
|
+ Most popular
|
||||||
|
+ "Always" free
|
||||||
|
+ AWS CDK available
|
||||||
|
Azure
|
||||||
|
-Microsoft
|
||||||
|
Google Cloud
|
||||||
|
+We have google accounts anyway
|
||||||
|
What technology for script (Ansible?)
|
||||||
|
|
||||||
12
docs/toDos/monitoring_service.txt
Normal file
12
docs/toDos/monitoring_service.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Monitoring service
|
||||||
|
Monitoring service should keep track of all communication
|
||||||
|
send between all services
|
||||||
|
Store logs with:
|
||||||
|
1. timestamp (when was a message send)
|
||||||
|
2. Message raw data
|
||||||
|
|
||||||
|
To decide:
|
||||||
|
What to use for Monitoring service?
|
||||||
|
Maybe cloud service will provide us with functioning one?
|
||||||
|
Maybe deployment tool already has one?
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user