Redux Auth Demo
See It In Action
View a live demo of this project here.
Deploy this project to your own Heroku instance by clicking this button:
What is this?
This is a fully configured redux-auth application. It includes the following:
- React.js
- Babel 6
- Redux
- Both Material UI and React Bootstrap themes. (Just remove the one(s) that you don't want.)
- Heroku deployment. Click the "deploy" button at the top of this page to create your own instance.
- Webpack with live code reloading.
- mocha, jsdom, and enzyme for testing.
- Isomorphic / universal rendering. (The server renders the initial content.)
Installation
git clone [email protected]:lynndylanhurley/redux-auth-demo.git
cd redux-auth-demo
npm install
Usage
Run The Dev Server
npm run dev
Run The Tests
npm run test
Deploy to Heroku
Assuming that your production git remote is named heroku
:
git push heroku master
Project map
The following files are used in the configuration of this app:
config/
default.json
production.json
src/
components/
containers/
app.js
client.js
server.js
test/
components/
redux/
helper.js
config/default.json
Set the url for your development API.
config/production.json
Set the url for your production API.
src/components/
Re-usable React components.
src/containers/
Page components that correlate to react-router Routes.
src/app.js
Configure your redux store, routes, and redux-auth settings.
src/client.js
Render your app client-side.
src/server.js
Initialize your app server-side.
test/components/
Tests for the corresponding React components.
test/redux/
Tests for redux actions + reducers.
test/helper.js
Shared methods to be used by tests.
License
WTFPL © Lynn Dylan Hurley