Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Minimalist demo on how to run multiple and mixed applications on one server with Node.js and Express/Sails frameworks

License

Notifications You must be signed in to change notification settings

migswd/express-sails-vhosts

Repository files navigation

Foreword about express-sails-vhosts

express-sails-vhosts is a minimalist demo on how to run multiple and mixed applications on one server with Node.js and Express/Sails frameworks.

In this example app1, app2 and app3 are Express apps, and app4 is a Sails.js app.

Because of the nature of the Sails.js framework we need to tweak the files server.jsand app4-sails/app.js in order to be able to run Sails.js apps along with Express apps on the same Node.js server.

This example is based on Loïc Saint-Roch express-vhosts example and solution found thanks to @sgress454 via StackOverFlow question.

License

MIT License Copyright © 2014 Miguel Bocquier

About

Minimalist demo on how to run multiple and mixed applications on one server with Node.js and Express/Sails frameworks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published