Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.43 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.43 KB

Laravel Vue (SPA) Admin Panel

Features

  • Uses architectui-vue-theme-free
  • Datatable with server side pagination, searching, sorting and filtering
  • OTP verification at login
  • OTP types
  • Client (Browser) and IP tracking capability
  • Allow a fixed number of clients to access app
  • Allow a single IP address to access app

Installation

  • git clone https://github.com/rahamatj/laravel-vue-admin.git
  • cd laravel-vue-admin

Server setup

  • cd server && composer install
  • cp .env.example .env
  • php artisan key:generate
  • Create database and update server/.env
  • cd server && php artisan migrate --seed
  • Set server URL in server/.env
APP_URL=http://localhost/laravel-vue-admin/server/public
  • (Optional) Set SMS API in server/.env
    • e.g: SMS_API=https://sms-api.com?to={to}&message={message}
    • SMS API must have {to} and {message} in the string
  • Run queue cd server && php artisan queue:work or set QUEUE_CONNECTION=sync if you don't want queue

Client setup

  • cd client && npm install
  • Set your API URL in client/utils/app.js
apiUrl: 'http://localhost/laravel-vue-admin/server/public',
  • cd client && npm run serve

Credentials