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.
Welcomeshows how a functional componenet can use redux to mangage state.
Dashboardshows how material-ui components work, as well as how the layouts are incorporated
Filmsshows a little of everything. But adds examples of how react-router works with sub routes.
Environment variables can be set in config/environments.
Things set in these files will override any other environment variables set by process.env
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
bin/start-build-agentfrom this repo. You can run
make test-coverageto mimic the build agent
makewhich runs the
alldirective in the makefile. Run
maketo mimic the release agent