Skip to content

Starter of AdonisJs framework with Start Admin Free templat, SPA and Auth prebuilt

Notifications You must be signed in to change notification settings

IvanAquino/adonis-start-admin-starter-spa

Repository files navigation

Adonis StarAdmin SPA Starter

Prebuilt auth pages

Features

  • Sigle page application
  • Vue and Vue Router configured with auth restricted pages
  • Basic example login and register with JWT Auth
  • UI with Start Admin Template Free
  • Powered by AdonisJS

Installation

adonis new myapp --blueprint=IvanAquino/adonis-start-admin-starter-spa

Vue App

Vue app it's in the folder /resources/assets/vue, you can modify the different components and compile

Watch changes on components

npm run watch

Compile production version

npm run production

Vue-router is configured in history mode by default

Run adonis serve dev mode

adonis serve --dev

Http Request

You can use this.$http to access all methos of Axios

Headers on authorized routes

Use this.$auth.getToken() to access Bearer Token

let headers = { 'Authorization': this.$auth.getToken() }

this.$http.get(`${window.basePath}/auth/user`, {headers})

Donations

Donate

Captures

login

dashboard

About

Starter of AdonisJs framework with Start Admin Free templat, SPA and Auth prebuilt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages