Laravel Jarvis is a starter project made with Laravel Jetstream Inertia Vue and add more additional feature like User, Role & Permission management, Responsive design, Light/Dark Mode, Rich Table with many features. Check the documentation for more details.
- User Authentication.
- Role and Permission Management.
- Localization (Currently, English, Bahasa Indonesia).
- Dark/Light Mode Support.
- Appliation Settings.
- Acitivity Log
- Responsive Design
- Modal Form
- Bulk Action
- Toast Notification
- Toooltip
- SSR (Server Side Rendering)
- Rich Feature Server Side Datatable
- Php 8
- Composer
- Mysql
- Apache/Nginx
Clone the git repository
git clone https://github.com/erikwibowo/Laravel-Jarvis.gitGo to the folder
cd Laravel-JarvisInstall and Update composer dependencies
composer updateInstall npm dependencies
npm installCopy .env.example and raname it to .env
cp .env.example .envGenerate application key
php artisan key:generateLink storage
php artisan storage:linkSETTING UP DB CONNECTION IN .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=jarvis
DB_USERNAME=root
DB_PASSWORD=SETTING UP EMAIL for Email Verification Or disable verification email. Read more
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"Migrate Database with fresh seed
php artisan migrate:fresh --seedStart the Project Developement Server
composer run devIf you are experiencing Cross-Origin Resource Sharing (CORS) issues in the browser while fetching assets from the Vite dev server, you may need to grant your custom origin access to the dev server.
The easiest way to allow a custom origin for your project is to ensure that your application's APP_URL environment variable matches the origin you are visiting in your browser. For example, if you visiting APP_URL=https://jarvis.test, you should update your .env to match:
APP_URL=https://jarvis.testIf you need more fine-grained control over the origins, such as supporting multiple origins, you should utilize Vite's comprehensive and flexible built-in CORS server configuration. For example, you may specify multiple origins in the server.cors.origin configuration option in the project's vite.config.js file:
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel({
input: 'resources/js/app.js',
refresh: true,
}),
],
/**
* This line is for prevent CORS error when developing environment
* Change with your local development domain
* In this case, I'm using http://jarvis.test provided by Laragon
* If you're using Valet, you can use http://jarvis.test
* Or if you're using XAMPP, you can use http://localhost:your-port (default is 80)
*/
server: {
cors: {
origin: ["http://jarvis.test"],
},
},
});and final touch is optimize the config to apply the change by running this script:
php artisan optimize
email : superadmin@superadmin.com
password : superadminemail : admin@admin.com
password : adminemail : operator@operator.com
password : operatorLaravel Jarvis is open-sourced software licensed under the MIT license.
















