spaz-client

1.0.0-rc2 • Public • Published

spaz-client

Web App Microframework for building Single-Page Applications.

Architecture

  • Single-Page client leveraging React, Redux, and Middle-router

Installation

Use the spaz-cli tool to generate a full Spaz project:

npm install -g spaz-cli
spaz new <project>

Or install the spaz-client separately through npm:

npm install --save spaz-server

Example

import SpazClient from 'spaz-client'
import root from './middlewares/root' // Middle Router middlewares
import reducers from './reducers'     // Object of redux reducers to be combined
 
let node = document.getElementById('application') // node to mount React
let spaz = new SpazClient({ reducers, node })
 
spaz.router.use('/', root)
 
spaz.start()

API Documentation

Coming ...

Readme

Keywords

none

Package Sidebar

Install

npm i spaz-client

Weekly Downloads

2

Version

1.0.0-rc2

License

MIT

Last publish

Collaborators

  • tgroshon