├── bootstrap
├── cache
│ └── .gitignore
└── app.php
├── storage
├── logs
│ └── .gitignore
├── app
│ ├── public
│ │ └── .gitignore
│ └── .gitignore
└── framework
│ ├── testing
│ └── .gitignore
│ ├── views
│ └── .gitignore
│ ├── sessions
│ └── .gitignore
│ ├── cache
│ └── .gitignore
│ └── .gitignore
├── client
├── plugins
│ ├── bootstrap.js
│ ├── nuxt-client-init.js
│ ├── vform.js
│ ├── fontawesome.js
│ ├── i18n.js
│ └── axios.js
├── assets
│ └── sass
│ │ ├── elements
│ │ ├── _card.scss
│ │ ├── _transitions.scss
│ │ ├── _navbar.scss
│ │ └── _buttons.scss
│ │ ├── app.scss
│ │ └── _variables.scss
├── static
│ └── favicon.ico
├── middleware
│ ├── guest.js
│ ├── auth.js
│ ├── locale.js
│ └── check-auth.js
├── pages
│ ├── home.vue
│ ├── settings
│ │ ├── index.vue
│ │ ├── password.vue
│ │ └── profile.vue
│ ├── auth
│ │ ├── verification
│ │ │ ├── verify.vue
│ │ │ └── resend.vue
│ │ ├── password
│ │ │ ├── email.vue
│ │ │ └── reset.vue
│ │ ├── login.vue
│ │ └── register.vue
│ └── welcome.vue
├── components
│ ├── global
│ │ ├── index.js
│ │ ├── Card.vue
│ │ ├── Button.vue
│ │ ├── Checkbox.vue
│ │ └── LoginWithGithub.vue
│ ├── LocaleDropdown.vue
│ └── Navbar.vue
├── layouts
│ ├── default.vue
│ └── simple.vue
├── store
│ ├── lang.js
│ ├── index.js
│ └── auth.js
├── lang
│ ├── zh-CN.json
│ ├── es.json
│ └── en.json
├── utils
│ └── index.js
├── router.js
└── nuxt.config.js
├── database
├── .gitignore
├── seeders
│ └── DatabaseSeeder.php
├── migrations
│ ├── 2014_10_12_100000_create_password_resets_table.php
│ ├── 2014_10_12_000000_create_users_table.php
│ ├── 2019_08_19_000000_create_failed_jobs_table.php
│ └── 2017_12_07_122845_create_oauth_providers_table.php
└── factories
│ └── UserFactory.php
├── public
├── robots.txt
├── favicon.ico
├── .htaccess
├── web.config
└── index.php
├── resources
├── views
│ ├── oauth
│ │ ├── emailTaken.blade.php
│ │ └── callback.blade.php
│ └── errors
│ │ └── layout.blade.php
└── lang
│ ├── en
│ ├── verification.php
│ ├── pagination.php
│ ├── auth.php
│ ├── passwords.php
│ └── validation.php
│ ├── zh-CN
│ ├── pagination.php
│ ├── auth.php
│ ├── passwords.php
│ └── validation.php
│ └── es
│ ├── pagination.php
│ ├── auth.php
│ ├── passwords.php
│ └── validation.php
├── .styleci.yml
├── .gitattributes
├── .gitignore
├── tests
├── TestCase.php
├── Unit
│ └── ExampleTest.php
├── CreatesApplication.php
└── Feature
│ ├── LocaleTest.php
│ ├── RegisterTest.php
│ ├── SettingsTest.php
│ ├── LoginTest.php
│ ├── VerificationTest.php
│ └── OAuthTest.php
├── .eslintrc.js
├── .editorconfig
├── app
├── Http
│ ├── Middleware
│ │ ├── EncryptCookies.php
│ │ ├── VerifyCsrfToken.php
│ │ ├── TrimStrings.php
│ │ ├── TrustHosts.php
│ │ ├── PreventRequestsDuringMaintenance.php
│ │ ├── TrustProxies.php
│ │ ├── Authenticate.php
│ │ ├── RedirectIfAuthenticated.php
│ │ └── SetLocale.php
│ ├── Controllers
│ │ ├── Controller.php
│ │ ├── SpaController.php
│ │ ├── Auth
│ │ │ ├── UserController.php
│ │ │ ├── ResetPasswordController.php
│ │ │ ├── ForgotPasswordController.php
│ │ │ ├── RegisterController.php
│ │ │ ├── VerificationController.php
│ │ │ ├── LoginController.php
│ │ │ └── OAuthController.php
│ │ └── Settings
│ │ │ ├── PasswordController.php
│ │ │ └── ProfileController.php
│ └── Kernel.php
├── Exceptions
│ ├── EmailTakenException.php
│ ├── VerifyEmailException.php
│ └── Handler.php
├── Providers
│ ├── BroadcastServiceProvider.php
│ ├── AppServiceProvider.php
│ ├── AuthServiceProvider.php
│ ├── EventServiceProvider.php
│ └── RouteServiceProvider.php
├── Notifications
│ ├── VerifyEmail.php
│ └── ResetPassword.php
├── Models
│ ├── OAuthProvider.php
│ └── User.php
└── Console
│ └── Kernel.php
├── routes
├── spa.php
├── web.php
├── channels.php
├── console.php
└── api.php
├── server.php
├── config
├── cors.php
├── view.php
├── services.php
├── hashing.php
├── broadcasting.php
├── filesystems.php
├── queue.php
├── logging.php
├── cache.php
├── mail.php
├── auth.php
├── database.php
└── session.php
├── .env.example
├── LICENSE
├── package.json
├── .github
└── workflows
│ └── tests.yml
├── phpunit.xml
├── artisan
└── composer.json
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/client/plugins/bootstrap.js:
--------------------------------------------------------------------------------
1 | import 'bootstrap'
2 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 | *.sqlite-journal
3 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/storage/app/public/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/app/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !public/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/storage/framework/testing/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/views/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/sessions/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !data/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cretueusebiu/laravel-nuxt/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/client/assets/sass/elements/_card.scss:
--------------------------------------------------------------------------------
1 | .card {
2 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
3 | }
4 |
--------------------------------------------------------------------------------
/client/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cretueusebiu/laravel-nuxt/HEAD/client/static/favicon.ico
--------------------------------------------------------------------------------
/client/plugins/nuxt-client-init.js:
--------------------------------------------------------------------------------
1 | export default (ctx) => {
2 | ctx.store.dispatch('nuxtClientInit', ctx)
3 | }
4 |
--------------------------------------------------------------------------------
/client/middleware/guest.js:
--------------------------------------------------------------------------------
1 | export default ({ store, redirect }) => {
2 | if (store.getters['auth/check']) {
3 | return redirect('/')
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/client/middleware/auth.js:
--------------------------------------------------------------------------------
1 | export default ({ store, redirect }) => {
2 | if (!store.getters['auth/check']) {
3 | return redirect('/login')
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/resources/views/oauth/emailTaken.blade.php:
--------------------------------------------------------------------------------
1 | @extends('errors.layout')
2 |
3 | @section('title', 'Login Error')
4 |
5 | @section('message', 'Email already taken.')
6 |
--------------------------------------------------------------------------------
/storage/framework/.gitignore:
--------------------------------------------------------------------------------
1 | compiled.php
2 | config.php
3 | down
4 | events.scanned.php
5 | maintenance.php
6 | routes.php
7 | routes.scanned.php
8 | schedule-*
9 | services.json
10 |
--------------------------------------------------------------------------------
/client/plugins/vform.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import { HasError, AlertError, AlertSuccess } from 'vform'
3 |
4 | Vue.component(HasError.name, HasError)
5 | Vue.component(AlertError.name, AlertError)
6 | Vue.component(AlertSuccess.name, AlertSuccess)
7 |
--------------------------------------------------------------------------------
/.styleci.yml:
--------------------------------------------------------------------------------
1 | php:
2 | preset: laravel
3 | disabled:
4 | - no_unused_imports
5 | finder:
6 | not-name:
7 | - index.php
8 | - server.php
9 | js:
10 | finder:
11 | not-name:
12 | - webpack.mix.js
13 | css: true
14 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.css linguist-vendored
3 | *.scss linguist-vendored
4 | *.js linguist-vendored
5 | CHANGELOG.md export-ignore
6 | README.md export-ignore
7 | .travis.yml export-ignore
8 | .env.dusk.local export-ignore
9 | .env.dusk.testing export-ignore
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | /public/hot
3 | /public/storage
4 | /storage/*.key
5 | /vendor
6 | .env
7 | .env.backup
8 | .phpunit.result.cache
9 | Homestead.json
10 | Homestead.yaml
11 | npm-debug.log
12 | yarn-error.log
13 | .nuxt
14 | /dist
15 | /public/_nuxt
16 | *.code-workspace
17 |
--------------------------------------------------------------------------------
/client/pages/home.vue:
--------------------------------------------------------------------------------
1 |
2 |