peterkuria / deliveryAppedx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Codecov license

frontend-template-application

Please tag @edx/fedx-team on any PRs or issues. Thanks.

Introduction

This repository is a template for Open edX micro-frontend applications. It is flagged as a Template Repository, meaning it can be used as a basis for new GitHub repositories by clicking the green "Use this template" button above. The rest of this document describes how to work with your new micro-frontend after you've created a new repository from the template.

After Copying The Template

You'll want to do a find-and-replace to replace all instances of frontend-template-application with the name of your new repository.

Prerequisite

Devstack. If you start Devstack with make dev.up.ecommerce that should give you everything you need as a companion to this frontend.

Installation and Startup

  1. Clone this repo:
git clone https://github.com/edx/frontend-template-application.git
  1. Install npm dependencies:
cd frontend-template-application && npm install
  1. Start the dev server:
npm start

The dev server is running at http://localhost:8080.

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.

Internationalization

Please see edx/frontend-i18n for documentation on internationalization. The repository README.rst explains how to use it, and the How To has more detail.

About

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 52.6%Language:Makefile 36.9%Language:HTML 6.7%Language:CSS 3.8%