This is a micro-frontend application responsible for the display of an authenticated user's order history. Please tag @edx/revenue-squad on any PRs or issues.
To use this application devstack must be running and you must be logged into it.
- Start devstack
- Log in (http://localhost:18000/login)
In this project, install requirements and start the development server by running:
npm ci
npm start # The server will run on port 1996
Once the dev server is up visit http://localhost:1996.
Note: npm ci
is recommended over npm install
to match the way CI and production builds work and avoid unintentional changes to package_lock.json
when doing other work.
This MFE is configured via node environment variables supplied at build time. See the .env file for the list of required environment variables. Example build syntax with a single environment variable:
NODE_ENV=development ACCESS_TOKEN_COOKIE_NAME='edx-jwt-cookie-header-payload' npm run build
For more information see the document: Micro-frontend applications in Open edX.