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.
|`npm start`| Run server which serves production ready build from `dist` folder |
19
+
|`npm run dev`| Run app in the development mode |
20
+
|`npm run dev-https`| Run app in the development mode using HTTPS protocol |
21
+
|`npm run build`| Build app for production and puts files to the `dist` folder |
22
+
|`npm run analyze`| Analyze dependencies sizes and opens report in the browser |
23
+
|`npm run lint`| Check code for lint errors |
24
+
|`npm run format`| Format code using prettier |
25
+
|`npm run test`| Run unit tests |
26
+
|`npm run watch-tests`| Watch for file changes and run unit tests on changes |
27
+
|`npm run coverage`| Generate test code coverage report |
28
+
|`npm run mock-api`| Start the mock api which mocks Recruit api |
28
29
29
30
## Local Deployment
30
31
@@ -58,3 +59,20 @@ Make sure you have [Heroky CLI](https://devcenter.heroku.com/articles/heroku-cli
58
59
59
60
- Now you have to configure frame app to use the URL provided by Heroku like `https://<APP-NAME>.herokuapp.com/earn-app/topcoder-micro-frontends-earn-app.js` to load this microapp.
60
61
62
+
### Aggregator API
63
+
64
+
Please refer to [Swagger Doc](./src/api/docs/swagger.yaml) for Aggregator API endpoints
65
+
66
+
#### Aggregator API Configuration
67
+
68
+
In the `micro-frontends-earn-app` root directory create `.env` file with the next environment variables.
69
+
70
+
```bash
71
+
# Auth0 config
72
+
AUTH_SECRET=
73
+
AUTH0_URL=
74
+
AUTH0_AUDIENCE=
75
+
AUTH0_CLIENT_ID=
76
+
AUTH0_CLIENT_SECRET=
77
+
```
78
+
Once the earn app is started, the aggregator api will work as well
0 commit comments