Skip to content

JohnLindahlTech/JulmustRacet-2015

 
 

Repository files navigation

JulmustRacet

Build Status dependencies devdependencies

Full example using Koa, React, Passport, Mongoose, Webpack, Mocha, and on Travis

This example contains a MVC pattern that presents a simple counter to the client that increments and decrements a value in the Mongo Database with Mongoose. The UI is all handled with ReactJS. It uses the yield keyword from ES6.

This projects uses bleeding-edge technology. It also uses unstable version of Mongoose (3.9) for the support of yield.

Prerequisite

Installation

  1. Checkout in a directory
  2. npm install
  3. Try it and ensure tests pass with npm run build && npm test

Running the project

To run the project

  1. run npm start
  2. Try access localhost:3000 You should normally get the index page.
  3. Create a user using the sign up page "#/signup". It should log you in automatically and you should be redirected to the counter

Build commands

Static Build

npm run build

Running Prod

npm run prod

Run Tests

npm run build && npm test

#Real production env npm i -g pm2 - Install PM2 pm2 start processes.json - Attach julmustracet to the pm2 service.

License

The plugin is under MIT license, please see the LICENSE file provided with the module.

Soon

Updates to come when I get some time:

  • Server side rendering with prod webpack config
  • Redux
  • Code coverage with iSparta istanbul.
  • ES6/Babel server side

About

JulmustRacet is awesome!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.9%
  • Shell 1.9%
  • CSS 1.3%
  • HTML 0.9%