Home
Softono

Nuxt3 Auth Example

Open source TypeScript
389
Stars
64
Forks
1
Issues
10
Watchers
10 months
Last Commit

 About Nuxt3 Auth Example

Example of a simple authentication system using Nuxt3

Platforms

Web Self-hosted

Languages

TypeScript

Need Help Installing Nuxt3 Auth Example?

We provide expert installation service for this software. Our team will install, configure, and secure Nuxt3 Auth Example on your server. plans start at just $30.

Nuxt3 Auth Example

View on GitHub

Nuxt 3 Auth example

This application is a simple example of how to implement a local authentication system using Nuxt.

Cover

Features

  • 🔐 Login with email and password
  • 🛡️ Guest, private and admin only pages
  • 🔥 Keep user authenticated after page refresh

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Copy the .env.example file to .env and fill in the values.

cp .env.example .env

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Checkout the deployment documentation for more information.

Credits