Home

Issue: 120

nuxt-api

[issue link]
api/
  middleware/
    auth.js
  routes/
    posts/
      _id.js
    posts.js
  modules/
    sessions.js // app.use(module.exports)
    compression.js
    i18n.js
  api.config.js
  bootstrap.js // called before listening the application (return a promise)
  app.js // extend app

-> Can be written in ES6/7 (use babel-node)

This feature request is available on Nuxt.js community (#c98)