https://github.com/hamideidy/nuxt-token-based-authentication
Token Based Authentication in Nuxt.js
https://github.com/hamideidy/nuxt-token-based-authentication
authentication authentication-middleware css html javascript nuxt nuxt3 nuxtjs
Last synced: 3 months ago
JSON representation
Token Based Authentication in Nuxt.js
- Host: GitHub
- URL: https://github.com/hamideidy/nuxt-token-based-authentication
- Owner: HamidEidy
- Created: 2023-10-28T08:23:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T12:41:10.000Z (over 2 years ago)
- Last Synced: 2025-02-21T23:33:19.168Z (over 1 year ago)
- Topics: authentication, authentication-middleware, css, html, javascript, nuxt, nuxt3, nuxtjs
- Language: Vue
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Authentication in nuxt.js (Token-Based authentication)
Registration
Login
Logout
Show user information in profile page
Show posts to people that who loged in
# Nuxt 3 Minimal Starter
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
## Setup
Make sure to install the dependencies:
```bash
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
```
## Development Server
Start the development server on `http://localhost:3000`:
```bash
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
```
## Production
Build the application for production:
```bash
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
```
Locally preview production build:
```bash
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
```
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.