Expressive.js protocol plugin for Express
npm install expressive-cli -g
expressive init myProject
expressive install express
expressive start
cd myProject
npm install expressive --save
cd /node_modules/expressive
npm install expressive-express
{
protocols: ['express'],
express: {
port: 8082,
static: `${require('path').join(__dirname, '../web/static')}`,
// See note on other middlewear options
}
}
This project uses expressive-middlewear.
Any options allowed by that framework can be used in the config object as well.