timedoor/baskito
| Install | |
|---|---|
composer require timedoor/baskito |
|
| Latest Version: | v1.5.4 |
| PHP: | ^8.1 |
| License: | MIT |
| Last Updated: | Feb 12, 2025 |
| Links: | GitHub · Packagist |
Baskito
About Baskito
Baskito stands for Backend Starter Kit Task Force that Timedoor Backend Developer built to improve development time for the admin page with a standardized tech stack and components built on Laravel 9 :
Prerequisites
Before starting a Baskito project, you need to install this program on your computer to match the Baskito tech stack.
Dependencies
Besides the package that is already built-in with Laravel, here's the list of installed dependencies within this project.
PHP
inertiajs/inertia-laravel : ^0.6.4docsinnocenzi/laravel-vite: 0.2.*docslaravel/ui: ^4.1docstightenco/ziggy: ^1.5docsbarryvdh/laravel-debugbar: ^3.7docs
Javascript
@types/bootstrap: ^5.2.6docs@types/jquery: ^3.5.14docs@types/ziggy-js: ^1.3.2docs@types/select2: ^4.0.56docs@typescript-eslint/eslint-plugin: ^5.46.1docs@typescript-eslint/parser: ^5.46.1docs@vitejs/plugin-vue: ^3.2.0docs@vue/compiler-sfc: ^3.2.45docseslint: ^8.29.0docseslint-config-prettier: ^8.5.0docseslint-plugin-vue: ^9.8.0docsprettier: ^2.8.1docssass: ^1.56.1docsvite: ^3.2.5docsvite-plugin-laravel: ^3.2.5docsvue-eslint-parser: ^9.1.0docs@inertiajs/inertia: ^0.11.1docs@inertiajs/inertia-vue3: ^0.6.0docs@inertiajs/progress: ^0.2.7docsvue: ^3.2.36docsziggy-js: ^1.5.0docs
Installation
PHP
First, you need to install all PHP package requirements.
composer install
Copy and paste the .env.example file into .env this project and generate APP_KEY.
cp .env.example .env
php artisan key:generate
Create and set your database configuration in the .env file then run the database migration and seeder.
php artisan migrate --seed
Javascript
Install Javascript package dependencies.
npm install
Run Vite for development.
npm run dev
Build Vite.
npm run build
Settings
Vite
Set DEV_SERVER_URL setting in .env to match your local project URL and add a port for Vite to it.
DEV_SERVER_URL=http://baskito.test:4000
Vite SSL
If you use HTTPS for DEV_SERVER_URL while using Laragon that is not placed in the default folder (C:\laragon) or somehow have an SSL error, you must specify the SSL key and certificate file path in the DEV_SERVER_KEY and DEV_SERVER_CERT settings in the .env.
DEV_SERVER_KEY="D:\\laragon\\etc\\ssl\\laragon.key"
DEV_SERVER_CERT="D:\\laragon\\etc\\ssl\\laragon.crt"