Skip to content

xlanex6/nuxt-nhost

Repository files navigation

NUXT / NHOST

NHOST module for NUXT

DO NOT USE IN PRODUCTION - WIP

ROADMAP

  • init module
  • basic setup / config
  • make composables for client
  • make composables for User / token
  • add middelware with cookie, refresh token
  • add middelware in demo to protect route if not login
  • Auth feature READY
  • Auth refacto ( accessToken != refeshToken)
  • Composables useAccessToken if needed in server side ( JWT / role )
  • make composables for GRAPHQL request ?
  • GRAPHQL feature + demo
  • make composables for storage ?
  • make composables for fonctions ??? Nuxt + serverless on the edge.
  • Basic design for demo / playground
  • publish demo on Netlify
  • Basic test with vitest
  • Add doc, base on DOCUS
  • Publish on npm
  • PR on Nuxt Modules

Nuxt 2

If you are looking for a solution with Nuxt 2, checkout https://github.com/nhost/nuxt

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Run npm run dev:prepare to generate type stubs.
  4. Use npm run dev to start playground in development mode.

License

MIT License