Framework Integration · Nuxt & Nitro
European PostgreSQL 18 backend for Nuxt & Nitro.
Query dedicated EU PostgreSQL 18 from Nitro server routes and Vue composables with full TypeScript inference and zero US cloud lock-in.
server/api/items.get.ts
import { createClient } from '@aurabase/aurabase-js'
export default defineEventHandler(async (event) => {
const config = useRuntimeConfig(event)
const aura = createClient(config.public.aurabaseUrl, config.public.aurabaseAnonKey)
const { data, error } = await aura.from('items').select('*').limit(50)
if (error) throw createError({ statusCode: 500, statusMessage: error.message })
return data
})#
Commande de démarrage rapide
Connect Nuxt & Vue to Aurabase
npm install @aurabase/aurabase-js- Add runtimeConfig.public.aurabaseUrl and aurabaseAnonKey to nuxt.config.ts.
- Install @aurabase/aurabase-js and instantiate the client in Nitro handlers or composables.
- Enforce PostgreSQL RLS policies so every user request stays isolated at the database layer.
#
Pourquoi Aurabase
Key benefits for Nuxt & Vue teams in Europe
01
Nitro server-route native
Zero Node-only dependencies — runs cleanly on Node, Bun, and Deno Nitro presets.
02
Shared EU sovereignty
Pair Nuxt deployed on Scaleway/Hetzner/Clever Cloud with Aurabase for a 100% EU stack.
03
Type-safe schema generation
Generate TypeScript types directly from PostgreSQL 18 with the Aurabase CLI or MCP server.
#
FAQ
Nuxt & Vue + Aurabase questions
Can I generate TypeScript types from my Aurabase schema for Nuxt?+
Yes. Use the Aurabase CLI or MCP generate_types tool to export TypeScript interfaces directly into your Nuxt types/ directory.
#
Plus d'intégrations
Explorez d'autres outils et frameworks d'IA
BACKEND SOUVERAIN DE L'UE
Expédiez en Europe sans aucun lock-in.
Aucune carte de crédit requise · 500 Mo gratuits · 50 000 MAU