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
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.
Check full documentation here.
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.
- 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
Check all release notes here.