Giter VIP home page Giter VIP logo

frontend-create-react-app's Introduction

build-status npm-version npm-total-downloads

๐Ÿช ๐Ÿช ๐Ÿช

Introduction

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

Installation

npm install @edx/frontend-create-react-app --global

Usage

Execute frontend-create-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

make 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/frontend-cookie-cutter-application.

frontend-create-react-app's People

Contributors

adamstankiewicz avatar albemarle avatar georgebabey avatar jaebradley avatar nasthagiri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.