/laravel-inertiajs-admin

This Project is for developers who want to kickstart project in Laravel and InertiaJS with Vue.

Primary LanguageVue

About laravel inertiajs admin

I have created this project to start with basic admin panel features like user management with Roles.

Installation

Clone the repo locally:

git clone https://github.com/amitm13/laravel-inertiajs-admin laravel-admin
cd laravel-admin

Install PHP dependencies:

composer install

Install NPM dependencies:

npm install

Build assets:

npm run dev

Setup configuration:

cp .env.example .env

Generate application key:

php artisan key:generate

Create an MySql database. You can also use another database (Sqlite, Postgres), simply update your configuration accordingly.

configure database in .env

DB_DATABASE=inertia_admin

Run database migrations:

php artisan migrate

Run the dev server (the output will give the address):

php artisan serve

You're ready to go!

Note: as there is no user by default. please register first to use admin panel.