This application is a simple example of how to implement a local authentication system using Nuxt.
- 🔐 Login with email and password
- 🛡️ Guest, private and admin only pages
- 🔥 Keep user authenticated after page refresh
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoistCopy the .env.example file to .env and fill in the values.
cp .env.example .envStart the development server on http://localhost:3000
npm run devBuild the application for production:
npm run buildLocally preview production build:
npm run previewCheckout the deployment documentation for more information.
