Skip to content

Open edX micro-frontend application for new login and registration experience.

License

Notifications You must be signed in to change notification settings

Dicey-Tech/frontend-app-authn

 
 

Repository files navigation

Build Status Codecov license

frontend-app-authn

This is a micro-frontend application responsible for the login, registration and password reset functionality.

Development

With Devstack

To use this application devstack must be running.

  • Start devstack

In this project, install requirements and start the development server by running:

npm install
npm start # The server will run on port 1999

Once the dev server is up visit http://localhost:1999/login.

With Tutor

Add the following to $(TUTOR_ROOT)/env/dev/docker-compose.override.yml.

auth:
 volumes:
   - /home/sofiane/frontend-app-authn/:/openedx/app

And start the MFE container with

tutor dev start auth -d

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 new login and registration experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.7%
  • SCSS 3.2%
  • Other 1.1%