Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-fastboot-server

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-fastboot-server

Production server for running Ember applications using FastBoot

  • 0.5.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
51
decreased by-67.92%
Maintainers
2
Weekly downloads
 
Created
Source

Ember FastBoot Server

Build Status

The Ember FastBoot Server is used to render Ember.js applications on the server and deliver them to clients over HTTP. This server is meant to be run in a production environment.

For more information about FastBoot, see ember-cli-fastboot, the Ember CLI addon that's a prerequisite for developing FastBoot apps.

Usage

Command Line

You can run the FastBoot server from the command line:

$ ember-fastboot path/to/fastboot-dist --port 80

Middleware

Alternatively, you can integrate the FastBoot server into an existing Node.js application by constructing a FastBootServer and using it as a middleware.

var server = new FastBootServer({
  distPath: 'path/to/fastboot-dist'
});

var app = express();

app.get('/*', server.middleware());

var listener = app.listen(process.env.PORT || 3000, function() {
  var host = listener.address().address;
  var port = listener.address().port;

  console.log('FastBoot running at http://' + host + ":" + port);
});

Keywords

FAQs

Package last updated on 05 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc