In this hands-on codelab, you'll build a complete authentication system from scratch, integrating Supabase's powerful authentication services with Nuxt's modern framework. From basic email/password authentication to protected routes and error handling, you'll gain practical experience in building secure user management systems.
Gradus Codelab: https://gradus.dev/labs/email-password-auth-with-supabase-in-nuxt-na2zIw
Make sure to install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun installStart the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
# bun
bun run devBuild the application for production:
# npm
npm run build
# pnpm
pnpm build
# yarn
yarn build
# bun
bun run buildLocally preview production build:
# npm
npm run preview
# pnpm
pnpm preview
# yarn
yarn preview
# bun
bun run previewCheck out the deployment documentation for more information.
