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
- Host: GitHub
- URL: https://github.com/sts-ryan-holton/nuxt-jwt-auth-template
- Owner: sts-ryan-holton
- License: mit
- Created: 2020-02-15T18:48:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T07:23:14.000Z (over 3 years ago)
- Last Synced: 2023-03-03T11:19:25.141Z (over 3 years ago)
- Topics: jwt, lumen, nuxtjs, vue, vuejs2
- Language: PHP
- Size: 2.47 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```