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/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/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 Admin** micro-app:
@@ -141,7 +141,7 @@ Some config files are using domain `local.topcoder-dev.com`. You can change it t
141
141
# this hosts TaaS Admin App as http://localhost:8502/taas-admin-app/topcoder-micro-frontends-taas-admin-app.js
142
142
```
143
143
144
-
4. Now we have to update the `micro-frontends-frame` app to show our local version of TaaS Admin App, instead of remote one. Update file `micro-frontends-frame/config/micro-frontends-config-local.json`:
144
+
4. Now we have to update the `mfe-core` app to show our local version of TaaS Admin App, instead of remote one. Update file `mfe-core/config/micro-frontends-config-local.json`:
145
145
146
146
```js
147
147
// replace line
@@ -155,4 +155,4 @@ Some config files are using domain `local.topcoder-dev.com`. You can change it t
155
155
- If you are not logged-in yet, you should be redirected to the login page.
156
156
- If you cannot see the application and redirect doesn't happen, make sure that file "http://local.topcoder-dev.com:8502/taas-admin-app/topcoder-micro-frontends-taas-admin-app.js" is loaded successfully in the Network tab.
157
157
158
-
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.
158
+
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