Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
b6dddc5
Revert "update mongodb version"
neuralarchitects Oct 7, 2025
d03d04b
refactore code base based on warnings
neuralarchitects Oct 7, 2025
a88ac52
Merge pull request #16 from TheArchitect2000/code_scaning
TheArchitect2000 Oct 7, 2025
6f4317f
Add schedule module and implement device synchronization logic
neuralarchitects Oct 9, 2025
14b79c6
Merge pull request #18 from TheArchitect2000/sync
TheArchitect2000 Oct 11, 2025
006d99d
fix error on running in another environment
neuralarchitects Oct 11, 2025
dacbde9
Update MQTT service to use environment variables for SSL/TLS and WebS…
neuralarchitects Oct 11, 2025
96bb6c3
Fix WebSocket port configuration in MQTT service and components
neuralarchitects Oct 11, 2025
823ad1e
Add CI/CD deployment workflow for backend and web applications
neuralarchitects Oct 11, 2025
bbec27a
Refactor CI/CD deployment workflow to include healthcheck and streaml…
neuralarchitects Oct 12, 2025
65de407
change var names
neuralarchitects Oct 12, 2025
9124807
update variables
neuralarchitects Oct 12, 2025
22ca391
Merge pull request #19 from TheArchitect2000/runner
TheArchitect2000 Oct 12, 2025
ab3d758
fix domain
neuralarchitects Oct 12, 2025
ed8d68d
Merge pull request #20 from TheArchitect2000/runner
TheArchitect2000 Oct 12, 2025
5d7466f
improve readability and ensure consistent SSH command structure
neuralarchitects Oct 12, 2025
2b2794c
Merge pull request #21 from TheArchitect2000/runner
TheArchitect2000 Oct 12, 2025
0e92173
fix: correct environment name from 'stage' to 'staging'
neuralarchitects Oct 12, 2025
3dcd577
Merge pull request #22 from TheArchitect2000/runner
neuralarchitects Oct 12, 2025
2b85507
streamline SSH command for application update
neuralarchitects Oct 12, 2025
f8e6e62
Merge pull request #23 from TheArchitect2000/runner
neuralarchitects Oct 12, 2025
a948831
deploy
neuralarchitects Oct 12, 2025
d62741a
Merge pull request #24 from TheArchitect2000/runner
neuralarchitects Oct 12, 2025
5d511b8
fix: correct formatting and improve error handling in deploy workflow
neuralarchitects Oct 12, 2025
b4151c3
Merge pull request #25 from TheArchitect2000/runner
neuralarchitects Oct 12, 2025
fa9eb5e
fix
neuralarchitects Oct 12, 2025
35f5e9b
Merge pull request #26 from TheArchitect2000/runner
neuralarchitects Oct 12, 2025
0caf7b9
fix
neuralarchitects Oct 12, 2025
1191bc1
Merge pull request #27 from TheArchitect2000/runner
neuralarchitects Oct 12, 2025
d4a0965
remove health-check
neuralarchitects Oct 12, 2025
992a254
Merge pull request #28 from TheArchitect2000/runner
neuralarchitects Oct 12, 2025
f8a9a64
dockerize app
neuralarchitects Oct 13, 2025
a3cbd9c
Merge pull request #29 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
386afd6
add sudo to Docker commands in deployment script
neuralarchitects Oct 13, 2025
bedd001
Merge pull request #30 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
000a0f2
trace
neuralarchitects Oct 13, 2025
253f54b
Merge pull request #31 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
0366fad
refactor: improve SSH deployment script readability and add user conf…
neuralarchitects Oct 13, 2025
f8704e7
Merge pull request #32 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
35f5f56
change docker privilage
neuralarchitects Oct 13, 2025
4f6b78c
Merge pull request #33 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
0fafe44
fix: replace npm ci with npm i in Dockerfiles for consistency
neuralarchitects Oct 13, 2025
23c791e
Merge pull request #34 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
a826d6f
update packages
Mo-Kasaei Oct 13, 2025
6888a7c
fix: replace npm ci with npm install --omit=dev in Dockerfile for pro…
neuralarchitects Oct 13, 2025
608e818
Merge pull request #35 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
ffb6a6f
fix: specify project name in Docker Compose command for staging deplo…
neuralarchitects Oct 13, 2025
0ad4685
Merge pull request #36 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
4a52fa3
fix: update MongoDB service port configuration to use environment var…
neuralarchitects Oct 13, 2025
2491d04
Merge pull request #37 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
f86fc5e
remove mongodb in docker-compose
neuralarchitects Oct 13, 2025
58719c4
Merge pull request #38 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
56bfb18
fix: rename services for production consistency in docker-compose
neuralarchitects Oct 13, 2025
1867280
remove continername
neuralarchitects Oct 13, 2025
4aad3e4
Merge pull request #39 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
80b98b1
fix: update deploy workflow for improved SSH setup and container mana…
neuralarchitects Oct 13, 2025
d143b15
Merge pull request #40 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
4191387
roll back file init-users
neuralarchitects Oct 13, 2025
62066f4
Merge pull request #41 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
9493dc5
fix: enhance deployment script to clean up Docker containers and free…
neuralarchitects Oct 13, 2025
40e82ad
Merge pull request #42 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
e3719ea
revert
neuralarchitects Oct 13, 2025
efef389
Merge pull request #43 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
7fcf7a6
fix porting mongodb
neuralarchitects Oct 13, 2025
ae2b560
Merge pull request #44 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
796f042
remove exposed port
neuralarchitects Oct 13, 2025
68ca843
Merge pull request #45 from TheArchitect2000/docker
neuralarchitects Oct 13, 2025
22c835f
refactor: update installation instructions to remove MongoDB setup an…
neuralarchitects Oct 14, 2025
e41151c
Merge pull request #46 from TheArchitect2000/docker
neuralarchitects Oct 14, 2025
674b99a
update readme
neuralarchitects Oct 14, 2025
526d073
Merge pull request #47 from TheArchitect2000/docker
neuralarchitects Oct 14, 2025
144ebce
change node_name instead of panel_url while using it in blockchain
neuralarchitects Oct 18, 2025
67b35e9
Merge pull request #48 from TheArchitect2000/zkp_panel
neuralarchitects Oct 18, 2025
f4966fe
Potential fix for code scanning alert no. 58: Workflow does not conta…
neuralarchitects Oct 18, 2025
8b42924
Refactor mqtt.service.ts: streamline logging and error handling, remo…
neuralarchitects Oct 19, 2025
46d966a
Handle empty path in TabNav component to prevent potential errors
neuralarchitects Oct 19, 2025
0429cab
Merge pull request #51 from TheArchitect2000/device-list
neuralarchitects Oct 19, 2025
9d011cd
Handle empty path in TabNav component to prevent potential errors
neuralarchitects Oct 19, 2025
a0895e9
Merge pull request #52 from TheArchitect2000/device-list
neuralarchitects Oct 19, 2025
18876a7
Add volume mapping for nginx SSL in webapp service
neuralarchitects Oct 19, 2025
6bbc237
Add volume mapping for nginx SSL in webapp service
neuralarchitects Oct 19, 2025
050bb5b
add ngonxconfig
neuralarchitects Oct 19, 2025
dfe5356
add ngonxconfig
neuralarchitects Oct 19, 2025
3c8cad8
add ngonxconfig
neuralarchitects Oct 19, 2025
19e6ad8
add nginx for admin
neuralarchitects Oct 19, 2025
78d6745
update dockerFile
neuralarchitects Oct 20, 2025
56056a8
fix dokcerFile
neuralarchitects Oct 20, 2025
e01fc62
update dockerFile
neuralarchitects Oct 20, 2025
3b97c5e
update dockerFile
neuralarchitects Oct 20, 2025
8130f56
add syslog service to docker-compose.yml
neuralarchitects Oct 20, 2025
f5fd636
add syslog service to docker-compose.yml
neuralarchitects Oct 20, 2025
455a954
add syslog service to docker-compose.yml
neuralarchitects Oct 20, 2025
ee21c9b
fix syslogService
neuralarchitects Oct 20, 2025
c4d6b9d
Merge pull request #53 from TheArchitect2000/log
neuralarchitects Oct 20, 2025
2991a16
feat: update aws workflow
neuralarchitects Oct 26, 2025
f45281e
feat: add logging service
neuralarchitects Oct 31, 2025
5a60e84
Merge pull request #54 from TheArchitect2000/logging
neuralarchitects Oct 31, 2025
824047e
fix importing mqtt log in main
neuralarchitects Oct 31, 2025
088ce4a
Merge pull request #55 from TheArchitect2000/logging
neuralarchitects Oct 31, 2025
843b2e5
fix importing mqtt log in main
neuralarchitects Oct 31, 2025
887ef18
Merge pull request #56 from TheArchitect2000/logging
neuralarchitects Oct 31, 2025
80a3fda
Update aws.yml
neuralarchitects Nov 6, 2025
36a4540
display logs
neuralarchitects Nov 8, 2025
da0cb3e
Merge pull request #57 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
bc8b40a
Update Dockerfile to copy uploads directory and remove redundant Serv…
neuralarchitects Nov 8, 2025
bc265da
Merge pull request #58 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
b48aeb4
Fix ServeStaticModule rootPath to use join for correct uploads direct…
neuralarchitects Nov 8, 2025
dfd9335
Merge pull request #59 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
3dcbc8e
Fix ServeStaticModule rootPath to use join for correct uploads direct…
neuralarchitects Nov 8, 2025
b68d57b
Merge pull request #60 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
69372d8
Update Dockerfile to create uploads directory and add logs route to c…
neuralarchitects Nov 8, 2025
0c442c2
Merge pull request #61 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
7ed25d2
Remove unused CSS import from LogTable component
neuralarchitects Nov 8, 2025
abded37
Merge pull request #62 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
1e6547e
fix: dockerFile
neuralarchitects Nov 8, 2025
1995242
fix: dockerFile
neuralarchitects Nov 8, 2025
0c59947
Merge pull request #63 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
ebeb24e
Add uploads directory structure
neuralarchitects Nov 8, 2025
25253ef
Merge pull request #64 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
7741cc1
Remove empty .gitkeep file from uploads/avatars directory
neuralarchitects Nov 8, 2025
9bd1421
Merge pull request #65 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
be052cf
fix: enable fallthrough option in ServeStaticModule configuration
neuralarchitects Nov 8, 2025
83508b9
Merge pull request #66 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
f0da930
fix: log endpoint
neuralarchitects Nov 8, 2025
8e495bf
Merge pull request #67 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
738769a
fix: log endpoint
neuralarchitects Nov 8, 2025
30f492d
Merge pull request #68 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
57e427e
fix: log endpoint
neuralarchitects Nov 8, 2025
a52fede
Merge pull request #69 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
e48ef88
test Logger
neuralarchitects Nov 8, 2025
456603d
Merge pull request #70 from TheArchitect2000/display_log
neuralarchitects Nov 8, 2025
c8768bd
fix: add logs directory creation in Dockerfile and update docker-comp…
neuralarchitects Nov 9, 2025
5f7862f
Merge pull request #71 from TheArchitect2000/display_log
neuralarchitects Nov 9, 2025
7ae486c
refactor: optimize log filtering and mapping in getInternalLogs method
neuralarchitects Nov 9, 2025
dcba29a
Merge pull request #72 from TheArchitect2000/display_log
neuralarchitects Nov 9, 2025
9d82278
remove userId in log-info
neuralarchitects Nov 10, 2025
13c16d9
Merge pull request #73 from TheArchitect2000/display_log
neuralarchitects Nov 10, 2025
dbccb1c
fix: correct log parsing order in getInternalLogs method
neuralarchitects Nov 10, 2025
4c08a7d
Merge pull request #74 from TheArchitect2000/display_log
neuralarchitects Nov 10, 2025
ba39ee8
feat: add system logs feature with updated navigation and logging com…
neuralarchitects Nov 11, 2025
31fb186
Merge pull request #75 from TheArchitect2000/display_log
neuralarchitects Nov 11, 2025
f0d000b
refactor: remove unused log route from routes configuration
neuralarchitects Nov 11, 2025
bc95556
Merge pull request #76 from TheArchitect2000/display_log
neuralarchitects Nov 11, 2025
4a5ad0c
feat: enhance LogTable component with loading and error states
neuralarchitects Nov 11, 2025
7e6e8a2
Merge pull request #77 from TheArchitect2000/display_log
neuralarchitects Nov 11, 2025
fcdb629
chore: update AWS workflow configuration with specific repository and…
neuralarchitects Nov 11, 2025
b5b0052
feat: enhance AWS deployment workflow with parallel builds and improv…
neuralarchitects Nov 11, 2025
f0faa2c
chore: simplify setup checklist by removing redundant sections and co…
neuralarchitects Nov 11, 2025
9f904bd
Add push-to-ecr workflow file
TheArchitect2000 Nov 12, 2025
abd2c1e
Refactor GitHub Actions for ECR deployment
TheArchitect2000 Nov 12, 2025
0a87757
Update AWS access key secret reference
TheArchitect2000 Nov 12, 2025
816631a
Refactor ECR push workflow for better clarity
TheArchitect2000 Nov 12, 2025
792bcb6
fix: correct log parsing order in getInternalLogs method
neuralarchitects Nov 13, 2025
7d500cf
Merge pull request #78 from TheArchitect2000/deviceLog
neuralarchitects Nov 13, 2025
9017a84
chore: remove outdated setup checklist and push-to-ecr workflow; add …
neuralarchitects Nov 13, 2025
4b077c3
Merge pull request #79 from TheArchitect2000/deviceLog
neuralarchitects Nov 13, 2025
ee8bd59
refactor: move useGetLogs hook into LogTable component for better enc…
neuralarchitects Nov 13, 2025
5c3e407
Merge pull request #80 from TheArchitect2000/deviceLog
neuralarchitects Nov 13, 2025
42486d7
fix: update logs path in settings menu for consistency
neuralarchitects Nov 13, 2025
df80998
Merge pull request #81 from TheArchitect2000/deviceLog
neuralarchitects Nov 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 35 additions & 0 deletions .aws/admin-webapp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"family": "admin-webapp-task",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "256",
"memory": "512",
"executionRoleArn": "arn:aws:iam::{{AWS_ACCOUNT_ID}}:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "admin_webapp",
"image": "{{ECR_REGISTRY}}/admin-webapp-repo:latest",
"essential": true,
"portMappings": [
{
"containerPort": 80,
"protocol": "tcp"
}
],
"secrets": [
{
"name": "REACT_APP_ADMIN_KEY",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:admin/api-key"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/admin-webapp",
"awslogs-region": "{{AWS_REGION}}",
"awslogs-stream-prefix": "ecs"
}
}
}
]
}
80 changes: 80 additions & 0 deletions .aws/backend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"family": "backend-task",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "512",
"memory": "1024",
"executionRoleArn": "arn:aws:iam::{{AWS_ACCOUNT_ID}}:role/ecsTaskExecutionRole",
"taskRoleArn": "arn:aws:iam::{{AWS_ACCOUNT_ID}}:role/ecsTaskRole",
"containerDefinitions": [
{
"name": "backend",
"image": "{{ECR_REGISTRY}}/backend-repo:latest",
"essential": true,
"portMappings": [
{
"containerPort": 3000,
"protocol": "tcp"
}
],
"secrets": [
{
"name": "MONGO_URI",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:backend/mongo-uri"
},
{
"name": "MONGO_USER",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:backend/mongo-user"
},
{
"name": "MONGO_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:backend/mongo-password"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/backend",
"awslogs-region": "{{AWS_REGION}}",
"awslogs-stream-prefix": "ecs"
}
},
"mountPoints": [
{
"sourceVolume": "ssl-certs",
"containerPath": "/etc/nginx/ssl",
"readOnly": true
},
{
"sourceVolume": "app-data",
"containerPath": "/usr/src/app/src/data",
"readOnly": true
}
]
}
],
"volumes": [
{
"name": "ssl-certs",
"efsVolumeConfiguration": {
"fileSystemId": "{{EFS_ID}}",
"transitEncryption": "ENABLED",
"authorizationConfig": {
"accessPointId": "{{EFS_SSL_ACCESS_POINT}}",
"iam": "ENABLED"
}
}
},
{
"name": "app-data",
"efsVolumeConfiguration": {
"fileSystemId": "fs-XXXXX",
"transitEncryption": "ENABLED",
"authorizationConfig": {
"accessPointId": "{{EFS_DATA_ACCESS_POINT}}",
"iam": "ENABLED"
}
}
}
]
}
86 changes: 86 additions & 0 deletions .aws/mongo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"family": "mongo-task",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "512",
"memory": "1024",
"executionRoleArn": "arn:aws:iam::{{AWS_ACCOUNT_ID}}:role/ecsTaskExecutionRole",
"taskRoleArn": "arn:aws:iam::{{AWS_ACCOUNT_ID}}:role/ecsTaskRole",
"containerDefinitions": [
{
"name": "mongo",
"image": "mongo:7.0",
"essential": true,
"portMappings": [
{
"containerPort": 27017,
"protocol": "tcp"
}
],
"secrets": [
{
"name": "MONGO_INITDB_ROOT_USERNAME",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:mongo/root-username"
},
{
"name": "MONGO_INITDB_ROOT_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:mongo/root-password"
},
{
"name": "FIDESINNOVA_DB_USERNAME",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:mongo/db-username"
},
{
"name": "FIDESINNOVA_DB_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:mongo/db-password"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/mongo",
"awslogs-region": "{{AWS_REGION}}",
"awslogs-stream-prefix": "ecs"
}
},
"mountPoints": [
{
"sourceVolume": "mongo-data",
"containerPath": "/data/db",
"readOnly": false
},
{
"sourceVolume": "mongo-init",
"containerPath": "/docker-entrypoint-initdb.d",
"readOnly": true
}
]
}
],
"volumes": [
{
"name": "mongo-data",
"efsVolumeConfiguration": {
"fileSystemId": "{{EFS_ID}}",
"transitEncryption": "ENABLED",
"rootDirectory": "/mongo-data",
"authorizationConfig": {
"accessPointId": "{{EFS_MONGO_DATA_ACCESS_POINT}}",
"iam": "ENABLED"
}
}
},
{
"name": "mongo-init",
"efsVolumeConfiguration": {
"fileSystemId": "fs-XXXXX",
"transitEncryption": "ENABLED",
"rootDirectory": "/mongo-init-scripts",
"authorizationConfig": {
"accessPointId": "{{EFS_MONGO_INIT_ACCESS_POINT}}",
"iam": "ENABLED"
}
}
}
]
}
35 changes: 35 additions & 0 deletions .aws/webapp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"family": "webapp-task",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "256",
"memory": "512",
"executionRoleArn": "arn:aws:iam::{{AWS_ACCOUNT_ID}}:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "webapp",
"image": "{{ECR_REGISTRY}}/webapp-repo:latest",
"essential": true,
"portMappings": [
{
"containerPort": 80,
"protocol": "tcp"
}
],
"secrets": [
{
"name": "REACT_APP_API_KEY",
"valueFrom": "arn:aws:secretsmanager:{{AWS_REGION}}:{{AWS_ACCOUNT_ID}}:secret:webapp/api-key"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/webapp",
"awslogs-region": "{{AWS_REGION}}",
"awslogs-stream-prefix": "ecs"
}
}
}
]
}
94 changes: 0 additions & 94 deletions .github/workflows/aws.yml

This file was deleted.

Loading
Loading