Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Universal way to take care of data flow, server or client side
nuxt-neo is an open-source Nuxt.js module that adds a middleware API layer between the browser, your server, and third-party private APIs, using a controllers-and-actions pattern to unify data flow across client and server.
nuxt-neo is a Nuxt.js module that automatically generates API routes from the folder and file structure of an "api" directory, letting you define controllers and actions instead of writing route handlers manually. It runs on Nuxt.js applications and is developed by ezypeeze on GitHub, distributed via npm under an MIT license. The module intercepts requests on both server and client side, so you can call the same API endpoints the same way regardless of where code executes.
api/users/list.js automatically exposes an endpoint without manual route registration.nuxt-neo reads the folder and file structure of your api directory and generates corresponding routes during Nuxt build time. Each file or folder maps to a route, with actions defined inside controllers. Middleware can be registered globally or per controller/action, and all requests are funneled through a single client-side helper.
nuxt-neo is released under the MIT license, so you can use, modify, and distribute it freely in personal or commercial projects.
Yes. The module abstracts the execution context, so the same API call syntax works during server-side rendering and client-side navigation, which prevents duplication of data-fetching logic.
Create a new file inside the api folder in the controller/action structure, for example api/users/list.js. nuxt-neo automatically generates the route and makes it accessible through the unified API method.
Yes, middleware can be declared globally for the entire API, per controller, or per action, giving you granular control over request processing.
