https://github.com/cludden/mycro-containers
mycro hook for loading local modules
https://github.com/cludden/mycro-containers
Last synced: 9 months ago
JSON representation
mycro hook for loading local modules
- Host: GitHub
- URL: https://github.com/cludden/mycro-containers
- Owner: cludden
- License: mit
- Created: 2016-08-01T23:55:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-05T02:17:12.000Z (over 9 years ago)
- Last Synced: 2025-02-14T10:17:59.288Z (11 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# mycro-containers
[mycro](https://github.com/cludden/mycro) hook for loading local modules onto the application instance.
## Installing
```bash
npm install --save mycro-containers
```
## Configuration
```javascript
// in /config/containers.js
module.exports = {
connections: true,
controllers: true,
models: true,
policies: true,
services: true,
schemas: {
filter: /(.+)\.json$/,
}
}
```
## Testing
```bash
npm test
```
## Contributing
1. [Fork it](https://github.com/cludden/mycro-containers/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
## License
Copyright (c) 2016 Chris Ludden.
Licensed under the [MIT license](LICENSE.md).