Skip to content

aks-/redux-react-router-email-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redux-react-router-email

This app is using express with Kraken to extend framework by providing structure.

Note

This app is created to demonstrate the usage of React, Redux, redux-simple-router, react-router. This app doesn't cover the validations and boundary conditions.

Application Structure

Let's take a tour of the app.

server

The server directory contains all the backend stuff:

config

The config directory contains the configuration settings for couchdb and Kraken middleware.

couchapp

This app uses couchdb as database. The couchapp directory contains the scripts to load the fixture documents and the couchdb design documents.

fixtures

The fixtures contains the mock documents that inserts the users and emails in database.

lib

The lib contains wrapper libraries and helpers used in app elsewhere.

middlewares

The middlewares contains the middlewares which are used in kraken config to attach to express app object.

routes

Every route in the application is defined in routes

app.js

app.js is entry point to the server.

client

The client directory contains all the frontend stuff:

components

The components directory contains all the pure react components.

containers

The containers directory contains all the react container components.

public

The public directory contains the css assets which are used to style the app.

reducers

The reducers directory contains the reducers used by redux.

actionCreators.js

The actionCreators.js file contains all the action creators which dispatches the actions to the redux store.

main.js

main.js is main entry point for frontend. It sets up the middlewares, routing etc in the app.

Running the app

Make sure you have couchdb installed and running and checkout server/config/dbConfig. To run the app open the command prompt and follow along:

# install babel-cli globally
npm install -g babel-cli

# install all the modules
npm install

# start the app
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published