Skip to content

A site for public browsing of enterprise catalogs, also called the Explore Catalog

License

Notifications You must be signed in to change notification settings

openedx/frontend-app-enterprise-public-catalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
mashal-m
Jul 24, 2023
94b1beb · Jul 24, 2023
May 12, 2023
Mar 22, 2023
Nov 7, 2022
Sep 19, 2022
Nov 7, 2022
Jun 9, 2023
Mar 4, 2021
Dec 13, 2021
Dec 9, 2022
May 3, 2021
Mar 4, 2021
Aug 9, 2022
Sep 19, 2022
Mar 4, 2021
May 12, 2023
Nov 7, 2022
Nov 7, 2022
Mar 2, 2021
Mar 22, 2023
Sep 19, 2022
Mar 4, 2021
Nov 7, 2022
Jul 24, 2023
Jul 24, 2023
Nov 7, 2022

Repository files navigation

Build Status Codecov license

frontend-app-enterprise-public-catalog

Introduction

This application is a public facing catalog page for use by edX consumers to find courses in catalogs before deciding to enroll.

The dev server is running at http://localhost:8735. The staging server is running at https://explore-catalog.stage.edx.org/.

Project Structure

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

Build Process Notes

Local Development

To run this project locally:

  1. Clone this repository

  2. From repository root folder, run:

    npm install

    Note: locally this app will default to open edX branding, so colors and formatting might look a little different than what will be deployed. To combat this, you can optionally run:

    npm install --save @edx/brand@npm:@edx/brand-edx.org

  3. This project requires Algolia developer keys. Once you have them, make the following local modifications to the .env.development file and replace the keys:

    ALGOLIA_APP_ID=''
    ALGOLIA_SEARCH_API_KEY=''
    ALGOLIA_INDEX_NAME=''
    
  4. You will also need to replace the following variables with valid Catalog Query Titles that are present in your Algolia index:

    EDX_FOR_BUSINESS_TITLE='' # default = 'Business'
    EDX_FOR_ONLINE_EDU_TITLE='' # default = 'Education'
    EDX_ENTERPRISE_ALACARTE_TITLE='' # default = 'A la carte'
    
  5. From repository root folder, run:

    npm start

    to start your local server at http://localhost:8735.

Helpful Testing Commands

  • npm run tests
  • npm run lint
  • npm run lint:fix to automatically fix errors

Production Build

The production build is created with npm run build.

Internationalization

Please see edx/frontend-platform's i18n module for documentation on internationalization. The documentation explains how to use it, and the How To has more detail.

About

A site for public browsing of enterprise catalogs, also called the Explore Catalog

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages