architect-express

0.1.0 • Public • Published

architect-express

This plugin allows for easy creation/configuration on an express server to be used by other plugins in an architect driven system

Config Format

{
  "packagePath": "./node_modules/architect-express",
  "port": 3000
}

Usage

Let's use that puppy in our plugin

module.exports = function (options, imports, register) {
 
  var app = imports.express;
 
  // Do stuf here. It's just an express server.
};

TODO

  • Allow registration of more apps
  • Better configuration in config file
  • Tests

Readme

Keywords

none

Package Sidebar

Install

npm i architect-express

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • camshaft