lowi / plasma-nuxt

AdonisJS + Nuxt + iView + SPA Mode with complete Auth over JWT (SSR disabled)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plasma-nuxt

AdonisJS + Nuxt.js = 🔥

Included

SPA Mode active - SSR disabled

  • Add complete Login, Logout, Signup, confirm Mail and activate account
  • Add Axios Nuxt Module with JWT configuration
  • Add default Template with sticky header and sidebar with flexible content
  • iView - A high quality UI Toolkit based on Vue.js
  • resources/plugins/axios.js - Add Interceptor for JWT refresh tokens and re-request on expired JWT token
  • start/hooks.js - Add a custom validator for signup | Add a custom exception handler for expired JWT token to signal for the axios interceptor

Installation

Install Node.js and PostgreSQL and Yarn

If you don't have Adonis CLI installed on your machine:

yarn global add @adonisjs/cli

In project Folder:

cp .env.example .env
yarn install
adonis key:generate
  • Edit .env
  • Database migration and fill with data
adonis migration:run
adonis seed
  • Run yarn dev to run the application
yarn dev

Screenshots:

Usage

yarn Description
yarn dev Start AdonisJS server in development with Nuxt.js in dev mode (hot reloading). Listen on http://localhost:3000.
yarn build Build your nuxt.js web application for production.
yarn start Start AdonisJS server in production.
yarn lint Lint your code with ESLint and Standard.

Features

See AdonisJS features and Nuxt.js features.

Documentation

Licenses

About

AdonisJS + Nuxt + iView + SPA Mode with complete Auth over JWT (SSR disabled)


Languages

Language:JavaScript 75.8%Language:Vue 18.5%Language:CSS 5.8%