Skip to content

Open edX micro-frontend application for managing e-commerce information.

License

Notifications You must be signed in to change notification settings

EDUlib/frontend-app-ecommerce

 
 

Repository files navigation

Build Status Codecov npm_version npm_downloads license semantic-release

frontend-app-ecommerce

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.


Development

Start Devstack

To use this application devstack must be running and you must be logged into it.

Start the development server

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.


Configuration and Deployment

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.


About

Open edX micro-frontend application for managing e-commerce information.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 88.4%
  • Makefile 5.3%
  • SCSS 2.9%
  • Shell 2.4%
  • HTML 1.0%