Nuxt neo

A nuxt.js module that implements a universal api layer, same-way compatible between server and client side.

Version: 4.2.0 Updated: 07/10/2020

By: ezypeeze License: MIT

Downloads Last 30 Days: 78

Install

npm i nuxt-neo
yarn add nuxt-neo

Repository: https://github.com/ezypeeze/nuxt-neo

CDNs

bundle.run: https://bundle.run/nuxt-neo

jsDelivr: https://cdn.jsdelivr.net/npm/nuxt-neo

unpkg: https://unpkg.com/nuxt-neo

nuxt-neo

Build Status Current NPM Version Dependencies Codecov Monthly Downloads Known Vulnerabilities

This module allows you to make a middleware API between the browser, your server and other private API's. Opinated, yet flexible, you can take care of your data flow in the same way, no matter if you are executing code on server or client side.

Documentation

Check full documentation here.

Description

One of the things that Nuxt.js doesn't bring out-of-the-box is middleware api support (it can be simply added thanks to its flexibility). I created this module so you can create your API inside nuxt.js easily, based on a controllers and actions approach.

Features

  • Auto-generate routes based on the folder/file tree your api folder.
  • Easy middleware injection (for all API or controller/action specific)
  • One single way to access your API.
  • Global HTTP Errors for better error handling

Release Notes

Check all release notes here.

License

MIT

Categories: Vue js