Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

incrementalcode/zygo-server

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

131 Commits
131 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zygo-Server

Zygo is the beginnings of a slim dual client/server rendering framework built around JSPM and React. This repo contains the server-side rendering and routing code. It is intended to be run as a server bootstrap for an app using JSPM and Zygo-Client.

For an overview of the problem Zygo solves and some motivation, see Zygo-Client.

Installation

To install it as an npm dependency, run:

$ npm install --save zygo-server

Example Usage

For a more detailed description of the server API, see the project wiki.
For a complete example, see Zygo-Example.

import Zygo from 'zygo-server';

let zygo = new Zygo('zygo.json');
zygo.initialize()
  .then(() => zygo.createServer())
  .catch(console.error.bind(console));

About

Zygo is a server powering isomorphic React applications, with advanced Javascript bundling optimisation using System.import

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 98.7%
  • Harbour 1.2%
  • CSS 0.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.