weacast/weacast-core

View on GitHub
src/services/index.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import path from 'path'

module.exports = function () {
  const app = this

  app.createService('forecasts',
    path.join(__dirname, '..', 'models'),
    path.join(__dirname, '..', 'services'),
    app.getServiceOptions('forecasts'))
}