Introduction
This project is a starter with a set of packages/components that helps you work with Lumen and VueJS.
Screenshots
Included
- Vue Router
- Vuex
- Axios
- Vue Notification
- Vue I18n
- Vue Meta
- Tailwind
- Font Awesome 5
- Lumen Form Request
- JWT
Features
- Signup
- Login
- Logout
- Multiple Language System
- Auth / Guest Middleware (FrontEnd & BackEnd)
- Cors Middleware
- Authentication with JWT
- Validation (FrontEnd & BackEnd)
- Tailwind Admin & Auth Templates
- Auto-Logout after access token expired
- Auto-Send access token with axios
- Auto-Loader for every request with axios
Installation
- Make sure you have npm and composer installed in your machine.
- Clone the repo to your local path.
- Navigate to {PROJECT-PATH}/back where {PROJECT-PATH} is the path where you cloned project.
- Run
copy .env.example .env
and after file.env
is copied you need to set database credentials into.env
file. - Run
composer install
to install dependencies. - Run
php artisan migrate
andphp artisan jwt:secret
. - Navigate to {PROJECT-PATH}/front and run
copy .env.example .env
. - Run:
npm install
. - Run:
npm run serve
.
Credits
- Tailwind Admin Template (https://github.com/davidgrzyb/tailwind-admin-template)
- Tailwind Login & Register Template (https://github.com/davidgrzyb/tailwind-auth-template)
Author
- Name: Gentrit Abazi
- Email: [email protected]