Ember-CLI express server for production

I cant remember where I read it, but I remember reading a statement by one of the core contributors that the server the Ember-CLI is built on isnt meant for production.

Is this true?

If so, what about it makes it not production ready?

How do we best go about using a CLI app in production?

And lastly, can an Ember-CLI app built on the default server be ported over to another server type (Rails, Django, etc)?

Your ember-cli app once ‘built’ is just a bunch of html, javascript and css. Basically the default server with ember-cli just serves up directory content, it’s not built for security etc.

You can use whatever serving solution works for you with whatever security your app requires. For very simple apps which don’t need any authentication etc. a static server is perfectly reasonable.

Hope that makes sense.

1 Like