Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit fdea0a7

Browse files
authored
Merge pull request #26 from topcoder-platform/dev
Earn Restructure PR
2 parents 09cec1b + dbcbd16 commit fdea0a7

7 files changed

+197
-199
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@ dist
102102

103103
# TernJS port file
104104
.tern-port
105+
106+
# VS Code settings
107+
.vscode/

config/constants.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ module.exports = Object.freeze({
22
APP_CONFIG: [
33
{
44
'appEnv': 'dev',
5-
'mfeConfigPath': 'https://tc-platform-dev.s3.amazonaws.com/micro-frontends/micro-frontends-config-development.json',
5+
'mfeConfigPath': 'https://tc-micro-frontends-dev.s3.amazonaws.com/micro-frontends/micro-frontends-config-development.json',
66
'mfeIndexPath': '/index.html',
7-
'mfeRoutesPath': 'https://tc-platform-dev.s3.amazonaws.com/micro-frontends/micro-frontends-routes-development.txt'
7+
'mfeRoutesPath': 'https://tc-micro-frontends-dev.s3.amazonaws.com/micro-frontends/micro-frontends-routes-development.txt'
88
},
99
{
1010
'appEnv': 'prod',
11-
'mfeConfigPath': 'https://tc-platform-prod.s3.amazonaws.com/micro-frontends/micro-frontends-config-production.json',
11+
'mfeConfigPath': 'https://tc-micro-frontends-prod.s3.amazonaws.com/micro-frontends/micro-frontends-config-production.json',
1212
'mfeIndexPath': '/index.html',
13-
'mfeRoutesPath': 'https://tc-platform-prod.s3.amazonaws.com/micro-frontends/micro-frontends-routes-production.txt'
13+
'mfeRoutesPath': 'https://tc-micro-frontends-prod.s3.amazonaws.com/micro-frontends/micro-frontends-routes-production.txt'
1414
},
1515
{
1616
'appEnv': 'local-multi',
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"imports": {
33
"@topcoder/micro-frontends-navbar-app": "http://localhost:3001/navbar/topcoder-micro-frontends-navbar-app.js",
4+
"@topcoder/micro-frontends-taas-admin-app": "https://platform.topcoder-dev.com/taas-admin-app/topcoder-micro-frontends-taas-admin-app.js",
45
"@topcoder/micro-frontends-react-app": "https://platform.topcoder-dev.com/react/topcoder-micro-frontends-react-app.js",
56
"@topcoder/micro-frontends-angular-app": "https://platform.topcoder-dev.com/angular/main.js",
67
"@topcoder/micro-frontends-teams": "https://platform.topcoder-dev.com/taas-app/topcoder-micro-frontends-teams.js",
78
"@topcoder/micro-frontends-task-marketplace-app": "https://platform.topcoder-dev.com/tasks/topcoder-micro-frontends-task-marketplace-app.js",
8-
"@topcoder/micro-frontends-earn-app": "http://localhost:8008/topcoder-micro-frontends-earn-app.js",
9+
"@topcoder/micro-frontends-earn-app": "http://localhost:8008/earn-app/topcoder-micro-frontends-earn-app.js",
910
"@topcoder/micro-frontends-submission-review-app": "https://platform.topcoder-dev.com/submissionreview/topcoder-micro-frontends-submission-review-app.js",
1011
"@topcoder/micro-frontends-model-app": "https://platform.topcoder-dev.com/model-app/topcoder-micro-frontends-model-app.js",
1112
"@topcoder/micro-frontends-community-admin-app": "https://tc-micro-community-admin.herokuapp.com/community-admin-app/topcoder-micro-frontends-community-admin-app.js"
1213
}
13-
}
14+
}

config/micro-frontends-routes-local.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<route path="taas">
88
<application name="@topcoder/micro-frontends-teams"></application>
99
</route>
10+
<route path="taas-admin">
11+
<application name="@topcoder/micro-frontends-taas-admin-app"></application>
12+
</route>
1013
<route path="task-marketplace">
1114
<application name="@topcoder/micro-frontends-task-marketplace-app"></application>
1215
</route>
@@ -29,6 +32,6 @@
2932
</route>
3033
<route default>
3134
<div style="text-align: center; padding-top: 200px; font-size: 32px;">
32-
Welcome to Topcoder Micro Frontends
35+
Welcome to the Topcoder Platform. Get started by opening an app in the tool switcher on top right corner.
3336
</div>
34-
</route>
37+
</route>

0 commit comments

Comments
 (0)