Skip to content

dustyjewett/ember-shim-for-node-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ember Shim For Node Example

Super simple example of how to setup a node project to import ember.

Show Me!

git clone git@github.com:dustyjewett/ember-shim-for-node-example.git
cd ember-shim-for-node-example
npm install
npm start

How?

Two bits of magic.

  • We use a shim package to download ember from bower and export it as a package.
  • We use babel to compile ES6 into CommonJS.

We can now use any business logic written for Ember in Node apps.

Really?

Well, yes... but I doubt anyone will recommend it. We're using it as a quick way to migrate business logic (thousands of lines of code) into the server. We may never run the code in production, but even if it's only used to compare test results with our migrated code, it'll be worth it!

About

Use Ember in Node.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published