laravel-admin-api maintained by balajidharma
Description
The Laravel Admin API - Laravel Admin API Boilerplate
Last update
2024/04/14 16:55
(1.x-dev)
License
Downloads
19
Tags
Built with
Installation
With Docker Desktop
- To get started, you need to install Docker Desktop.
- You may run the following command in your terminal
- Windows open WSL2 Linux terminal. Docker Desktop WSL 2 backend
docker run --rm -v "$(pwd)":/opt -w /opt laravelsail/php83-composer:latest bash -c "composer create-project balajidharma/laravel-admin-api admin-app && cd admin-app && php artisan sail:install --with=mysql,redis,meilisearch,mailhog,selenium"cd admin-app./vendor/bin/sail pull mysql redis meilisearch mailhog selenium./vendor/bin/sail build./vendor/bin/sail up./vendor/bin/sail npm install./vendor/bin/sail npm run dev./vendor/bin/sail artisan vendor:publish --tag=admin-core./vendor/bin/sail artisan migrate --seed --seeder=AdminCoreSeeder- Now open http://localhost/
Without Docker Desktop
- To get started, you need to install PHP Composer.
composer create-project balajidharma/laravel-admin-api admin-apicd admin-api- Create a new MYSQL database and update database details in
.envfile php artisan vendor:publish --tag=admin-corephp artisan migrate --seed --seeder=AdminCoreSeedernpm installnpm run devphp artisan serve- Now open http://localhost:8000/
Super Admin Login
- Email - superadmin@example.com
- Password - password
Admin Configuration:
To change the Admin Prefix, change prefix on config/admin.php or add the ADMIN_PREFIX on env
'prefix' => env('ADMIN_PREFIX', 'admin'),
Postman Collection
Also Try
License
The Laravel framework is open-sourced software licensed under the MIT license.