Skip to content

Ember.js application routing for Hapi.js, without the fuss

License

Notifications You must be signed in to change notification settings

Trendy/hapi-ember

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hapi-ember

Hapi-ember is a simple Hapi.js plugin to help you route to your Ember.js application using Hapi.js.

Installation

Install using NPM:

npm install hapi-ember

Usage

To use hapi-ember, simply register the plugin with your Hapi.js server:

var server = new Hapi.Server();

server.connection({port: 1337});

server.register({
    register: require('hapi-ember'),
    options: {
        directory: '/path/to/your/project'
    }}, function(err){
        if(err) throw new Error(err)

        console.log('hapi ember!');
    });

Options

directory (required) - The path to your Ember application.

path (optional) - The path you would like Hapi to use when routing to your application. Defaults to "/"

Contributing

Pull requests and issues are welcome.

About

Ember.js application routing for Hapi.js, without the fuss

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published