Skip to content

sts-ryan-holton/nuxt-jwt-auth-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔑 Nuxt JS + Laravel Lumen JWT Auth Template

A quick, simple template to get up and running with authentication using Laravel Lumen and Nuxt JS

🚀 Demo

  1. Clone this repo.
  2. Run the following:
# prepare the project
$ sudo ./prepare-demo.sh
  1. When prompted, add your App Key & setup your database credentials for the API!

API

  1. Setup an empty database for your API and configure database credentials inside of the API .env file.
  2. Run the following from our API:
# generate tables
$ cd api && php artisan migrate

Launch the demo!

You'll need two terminals open:

🚀 API - Terminal #1

cd api && php -S localhost:8000 -t public

🚀 Client - Terminal #2

cd client && npm run start