# robsontenorio/vue-api-query

💎 Elegant and simple way to build requests for REST API

Repository: https://github.com/robsontenorio/vue-api-query
Canonical: https://ross.abutalabs.com/products/vue-api-query
Homepage: https://robsontenorio.github.io/vue-api-query
Language: JavaScript
License: MIT
License Family: permissive
Topics: vue, nuxt, nuxtjs, api, rest, query-builder, laravel
Last push: 2025-03-28T15:01:45+00:00

## Health v2 (maintenance only)
Score: 29/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 13, release rhythm 8, longevity 100
- inputs: {"age_days": 3091, "days_push": 523, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1663, forks 127 (observed 2026-08-28T04:05:18.884922+00:00)

## What it is
A JavaScript library for Vue and Nuxt that provides an elegant, chainable query builder for constructing REST API requests. It lets developers move API request logic into dedicated model classes, pairing especially well with Laravel's spatie/laravel-query-builder.

## Use cases
- build REST API requests with a fluent chainable syntax in Vue apps
- organize API calls into dedicated model classes instead of ad-hoc fetch code
- query a Laravel backend using spatie/laravel-query-builder conventions
- perform CRUD operations against a REST API from Nuxt or Vue
- filter, sort, and paginate API results via query parameters
- handle relationships and nested resources in API requests

## When to choose
- you use Vue or Nuxt and want clean, model-based API request building
- your backend is Laravel with spatie/laravel-query-builder
- you want to avoid scattering raw fetch/axios calls across components

## When to avoid
- you use React, Angular, or another non-Vue frontend framework
- your backend uses GraphQL rather than REST
- you need a full-featured data-fetching and caching layer like TanStack Query

## Facets
- artifact type: library
- maturity: stable
- function: http-client, api-framework, orm
- domain: web-development, frontend, apis
- platform: browser
- tags: vue, nuxt, rest-api, query-builder, laravel, api-client, nodejs, javascript

## Member repositories
- robsontenorio/vue-api-query (main) score 29

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:18.884922+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:44:32.400480+00:00, confidence not recorded.
  - readme: https://github.com/robsontenorio/vue-api-query (fetched 2026-08-28T04:05:18.884922+00:00, sha e785fc85aa60)
  - homepage: https://robsontenorio.github.io/vue-api-query (fetched 2026-08-29T11:17:05.058863+00:00, sha 12c5d4c6b66b)
  - registry_npm: https://registry.npmjs.org/vue-api-query (fetched 2026-08-29T11:17:05.061359+00:00, sha 8ce2bf1f3236)
- Data as of 2026-08-30T08:39:29.467469+00:00.
