You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Update in file `micro-frontends-navbar-app/blob/dev/config/dev.js` values for `ACCOUNTS_APP_CONNECTOR` and `AUTH` to `http://localhost:5000` so Navbar app which handles authentication uses our local Authentication service.
118
+
Update in file `mfe-header/blob/dev/config/dev.js` values for `ACCOUNTS_APP_CONNECTOR` and `AUTH` to `http://localhost:5000` so Navbar app which handles authentication uses our local Authentication service.
119
119
120
120
```sh
121
-
# inside folder "micro-frontends-navbar-app" run:
121
+
# inside folder "mfe-header" run:
122
122
123
123
nvm use # or make sure to use Node 10
124
124
npm i # to install dependencies
125
125
126
126
npm run dev
127
127
128
-
# this host navbar app as http://localhost:3001/navbar/topcoder-micro-frontends-navbar-app.js
128
+
# this host navbar app as http://localhost:3001/navbar/topcoder-mfe-header.js
129
129
```
130
130
131
131
3. Run **TaaS** micro-app:
@@ -148,7 +148,7 @@ Some config files are using domain `local.topcoder-dev.com`. You can change it t
148
148
# this host TaaS App as http://localhost:8501/taas-app/topcoder-micro-frontends-teams.js
149
149
```
150
150
151
-
4. Now we have to update the `micro-frontends-frame` app to show our local version of TaaS App, instead of remote one. Update file `micro-frontends-frame/config/micro-frontends-config-local.json`:
151
+
4. Now we have to update the `mfe-core` app to show our local version of TaaS App, instead of remote one. Update file `mfe-core/config/micro-frontends-config-local.json`:
152
152
153
153
```js
154
154
// replace line
@@ -162,4 +162,4 @@ Some config files are using domain `local.topcoder-dev.com`. You can change it t
162
162
- If you are not logged-in yet, you should be redirected to the login page.
163
163
- If you cannot see the application and redirect doesn't happen, make sure that file "http://local.topcoder-dev.com:8501/taas-app/topcoder-micro-frontends-teams.js" is loaded successfully in the Network tab.
164
164
165
-
Congratulations, you successfully run the project. If you had some issue, please, try to go through README of https://github.com/topcoder-platform/micro-frontends-frame and https://github.com/topcoder-platform/micro-frontends-navbar-app.
165
+
Congratulations, you successfully run the project. If you had some issue, please, try to go through README of https://github.com/topcoder-platform/mfe-core and https://github.com/topcoder-platform/mfe-header.
0 commit comments