Plateforme de decisions collectives pour Duniter/G1. Backend FastAPI async + PostgreSQL (14 tables, 8 routers, 6 services, moteur de vote avec formule d'inertie WoT/Smith/TechComm). Frontend Nuxt 4 + Nuxt UI v3 + Pinia (9 pages, 5 stores). Infrastructure Docker + Woodpecker CI + Traefik. Documentation technique et utilisateur (15 fichiers). Seed : Licence G1, Engagement Forgeron v2.0.0, 4 protocoles de vote. 30 tests unitaires (formules, mode params, vote nuance) -- tous verts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
701 B
TypeScript
29 lines
701 B
TypeScript
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
ssr: false,
|
|
devtools: { enabled: true },
|
|
devServer: { port: 3002 },
|
|
components: [{ path: '~/components', pathPrefix: false }],
|
|
modules: [
|
|
'@nuxt/ui',
|
|
'@pinia/nuxt',
|
|
'@unocss/nuxt',
|
|
'@vueuse/nuxt',
|
|
],
|
|
app: {
|
|
head: {
|
|
htmlAttrs: { lang: 'fr' },
|
|
meta: [
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ name: 'description', content: 'Plateforme de decisions collectives pour la communaute Duniter/G1' },
|
|
],
|
|
title: 'Glibredecision',
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBase: 'http://localhost:8002/api/v1',
|
|
},
|
|
},
|
|
})
|