### Table of contents --- * [About](#about) * [Dependancies](#dependancies) * [Getting Started](#getting-started) * [Environments](#environments) * [Testing](#testing) * [Production](#production)
Last updated 2 years ago by raghupathidontha .
Original npm · Tarball · package.json
$ cnpm install servicetemplate-react-polarisplatform 
SYNC missed versions from official npm registry.

React app service template

Table of contents


This project was bootstrapped with Create React App

We wanted to make this template as robust and easy to use as possible. Because of this, we've added most of what you need to create a scaleable and great react app. Things like a router, redux for state management, and material-ui as a component library configured with berkadia styles.

We've also included a sample application to show how each of these tools are used. Under src/views you will find the following componenets.

  • Welcome shows how a functional componenet can use redux to mangage state.
  • Dashboard shows how material-ui components work, as well as how the layouts are incorporated src/layouts
  • Films shows a little of everything. But adds examples of how react-router works with sub routes.

Happy Reacting!


  • React (duh) as a framework for creating our application
  • Webpack as a deployment bundler
  • Babel for transforming ES6 code into browser compliant code
  • Material UI as a componenet Library
  • Sass for Awesome stylesheets
  • Redux as a state manager
  • React Router as a frontend single page app router
  • Axios as a frontend HTTP Client
  • Jest as a test runner for React

Getting Started

  1. First install node modules
make install
  1. Start the App
make start


Environment variables can be set in config/environments.

  • env.json is used by default
  • prod.env.json is used for production builds

Things set in these files will override any other environment variables set by process.env


  • Run the test watcher for development
make test

NOTE: Unfortunately if you are using an older version of docker, (which most everyone at berkadia is) test watching won't work. You'll have to rerun the tests each time, and Jest won't support this legacy functionality. See the github issue HERE

  • Get inside the docker container
make sh


  • The build agent runs bin/start-build-agent from this repo. You can run make test-coverage to mimic the build agent
  • The release agent runs make which runs the all directive in the makefile. Run make to mimic the release agent
  • Kubernetes executes the Dockerfile after the release agent builds the image with make.

Current Tags

  • 0.0.0                                ...           latest (2 years ago)

1 Versions

  • 0.0.0                                ...           2 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2017 © |