Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 953 Bytes

File metadata and controls

40 lines (28 loc) · 953 Bytes

expressive-express

Expressive.js protocol plugin for Express


Expressive.js CLI Install:

npm install expressive-cli -g
expressive init myProject
expressive install express
expressive start

Manual Install:

cd myProject
npm install expressive --save
cd /node_modules/expressive
npm install expressive-express

Expressive.js config.js:

{
    protocols: ['express'],
    
    express: {
      port: 8082,
      static: `${require('path').join(__dirname, '../web/static')}`,
      
      // See note on other middlewear options
    }
}

Other middlewear options:

This project uses expressive-middlewear.
Any options allowed by that framework can be used in the config object as well.