Skip to content

CUCWD/frontend-app-sidebar-navigation

 
 

Repository files navigation

frontend-app-sidebar-navigation

Introduction

This is the Sidebar Navigation MFE (Micro-Frontend Application), which allows interaction with the course outline directly on the course content pages Frontend app Sidebar Navigation MFE.

This is useful if you have large courses or want to improve the user experience, as the learner does not need to leave the course content page to navigate to other sections or subsections of your course.

Prerequisites

  • Install devstack locally and then run make dev.up.
  • It is necessary to be logged in to be able to enter the MFE.

Installation and Startup

  1. Clone the repo using SSH:
git clone git@github.com:Pearson-Advance/frontend-app-sidebar-navigation.git
  1. Use node v16.x.

    The micro-frontend build scripts support node 16. Using other major versions of node may work, but is unsupported. For convenience, this repository includes an .nvmrc file to help in setting the correct node version via nvm.

  2. Install npm dependencies:

cd frontend-app-sidebar-navigation && npm install
  1. Verify the application port to use for local development :9090.
  2. Start the dev server:
npm start

The dev server is running at http://localhost:9090 or whatever port you setup.

Project Structure

The source for this project is organized into nested submodules according to the ADR Feature-based Application Organization.

Build Process Notes

Production Build

The production build is created with npm run build.

Contributing

If you are willing to contribute or want to know how to do so, please see our CONTRIBUTING guide.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.4%
  • Makefile 4.7%
  • Other 1.9%