edx/create-edx-react-app

Name: create-edx-react-app

Owner: edX

Description: null

Created: 2018-04-30 17:38:01.0

Updated: 2018-05-24 15:47:16.0

Pushed: 2018-05-24 15:50:52.0

Homepage: null

Size: 269

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

build-status npm-version npm-total-downloads

? ? ?

Introduction

create-edx-react-app simplifies the creation of new front-end applications at edX by providing a CLI to generate a new instance of the edX front-end cookie cutter.

Installation
install @edx/create-edx-react-app --global
Usage

Execute create-edx-react-app via the command line and then follow the configuration options.

configuration-options

The outputted starter application should look like

Dockerfile
LICENSE
Makefile
config
?? webpack.common.config.js
?? webpack.dev.config.js
?? webpack.prod.config.js
docker-compose.yml
package-lock.json
package.json
public
?? index.html
src
?? App.scss
?? components
  ??? CommentDetails
  |  ??? index.jsx
  ??? CommentSearch
  |  ??? index.jsx
  ??? ToggleablePosts
     ??? ToggleablePosts.test.jsx
     ??? index.jsx
?? containers
  ??? CommentSearchPage
  |  ??? index.jsx
  ??? DisclosurePage
  |  ??? DisclosurePage.scss
  |  ??? DisclosurePage.test.jsx
  |  ??? index.jsx
  ??? PostsPage
     ??? index.jsx
?? data
  ??? actions
  |  ??? comment.js
  |  ??? posts.js
  |  ??? posts.test.js
  ??? constants
  |  ??? actionTypes
  ??? reducers
  |  ??? comment.js
  |  ??? index.js
  |  ??? posts.js
  |  ??? posts.test.js
  ??? store.js
?? index.jsx
?? setupTest.js

To start the application run

 up

This will spin up the Docker container for the new web application.

You should see something like

example

on port 1991.

At this point, the new web application should mirror the edx/front-end-cookie-cutter-application.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.