An open API service indexing awesome lists of open source software.

https://github.com/sts-ryan-holton/nuxt-jwt-auth-template

:key: Nuxt JS + Laravel Lumen JWT auth template
https://github.com/sts-ryan-holton/nuxt-jwt-auth-template

jwt lumen nuxtjs vue vuejs2

Last synced: over 1 year ago
JSON representation

:key: Nuxt JS + Laravel Lumen JWT auth template

Awesome Lists containing this project

README

          

# :key: Nuxt JS + Laravel Lumen JWT Auth Template

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

## :rocket: Demo

1. Clone this repo.
2. Run the following:

``` bash
# prepare the project
$ sudo ./prepare-demo.sh
```
3. 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:

``` bash
# generate tables
$ cd api && php artisan migrate
```

### Launch the demo!

You'll need **two** terminals open:

**:rocket: API - Terminal #1**

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

**:rocket: Client - Terminal #2**

``` bash
cd client && npm run start
```