├── .env.example ├── .eslintrc.cjs ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── .vscode └── extensions.json ├── LICENSE ├── README.md ├── api_dockerfiles ├── .env ├── Dockerfile └── docker-compose.yml ├── index.html ├── package.json ├── public └── favicon.ico ├── src ├── App.vue ├── api │ ├── middleware401.js │ ├── middlewareCSRF.js │ └── useAPI.js ├── assets │ ├── base.css │ └── logo.svg ├── helpers │ └── handleErrors.js ├── layouts │ ├── authLayout.vue │ └── defaultLayout.vue ├── main.js ├── router │ ├── index.js │ └── middleware │ │ └── auth-middleware.js ├── stores │ ├── auth.js │ └── user.js └── views │ ├── AboutView.vue │ ├── HomeView.vue │ └── auth │ ├── Forgot.vue │ ├── Login.vue │ └── Register.vue └── vite.config.js /.env.example: -------------------------------------------------------------------------------- 1 | API_HOST=http://localhost:8000 2 | API_PATH=/api 3 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/README.md -------------------------------------------------------------------------------- /api_dockerfiles/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/api_dockerfiles/.env -------------------------------------------------------------------------------- /api_dockerfiles/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/api_dockerfiles/Dockerfile -------------------------------------------------------------------------------- /api_dockerfiles/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/api_dockerfiles/docker-compose.yml -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/api/middleware401.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/api/middleware401.js -------------------------------------------------------------------------------- /src/api/middlewareCSRF.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/api/middlewareCSRF.js -------------------------------------------------------------------------------- /src/api/useAPI.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/api/useAPI.js -------------------------------------------------------------------------------- /src/assets/base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/assets/base.css -------------------------------------------------------------------------------- /src/assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/assets/logo.svg -------------------------------------------------------------------------------- /src/helpers/handleErrors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/helpers/handleErrors.js -------------------------------------------------------------------------------- /src/layouts/authLayout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/layouts/authLayout.vue -------------------------------------------------------------------------------- /src/layouts/defaultLayout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/layouts/defaultLayout.vue -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/main.js -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/router/index.js -------------------------------------------------------------------------------- /src/router/middleware/auth-middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/router/middleware/auth-middleware.js -------------------------------------------------------------------------------- /src/stores/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/stores/auth.js -------------------------------------------------------------------------------- /src/stores/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/stores/user.js -------------------------------------------------------------------------------- /src/views/AboutView.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/views/AboutView.vue -------------------------------------------------------------------------------- /src/views/HomeView.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/views/HomeView.vue -------------------------------------------------------------------------------- /src/views/auth/Forgot.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/views/auth/Forgot.vue -------------------------------------------------------------------------------- /src/views/auth/Login.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/views/auth/Login.vue -------------------------------------------------------------------------------- /src/views/auth/Register.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/src/views/auth/Register.vue -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsgreco/vue3-laravel-api/HEAD/vite.config.js --------------------------------------------------------------------------------