This project is created using Laravel 10
and Inertiajs/react
- NodeJS v.18 (LTS)
- Composer
- PHP 8+
You can using below credentials for authentication:
email: superadmin@admin.com
password: superadmin1234
email: admin@admin.com
password: admin1234
- Clone this project
- Run installation for backend
composer install
- Create
sqlite
database
touch database/database.sqlite
- Generate
.env
file
cp .env.example .env
- Generate
key
andjwt-key
php artisan key:generate && php artisan jwt:secret
- Run database migration
php artisan migrate:fresh --seed
- Run installation for frontend
npm install
- (optional) Run generate bundle or run development for frontend
npm run build
- If you already build frontend bundle, this step is unnecessary
npm run dev
- Open new tab terminal or new window terminal, then run the server for backend and frontend
php artisan serve
- Finally, open link here