Skip to content

CustomAnalytic2 (WW2) is a Web app about dataset, story, and forum about World War. This app is portfolio project and created using Laravel 9

Notifications You must be signed in to change notification settings

FlazeFy/customanalytic_api2

Repository files navigation

========================= Command =========================

First Run

composer install composer update php artisan key:generate php artisan storage:link php artisan serve

Run Application

php artisan serve

Run Queue Job

php artisan queue:work

Run Application On Custom Pors

php artisan serve # port=**** ex : php artisan serve # port=9000

Run Migrations

php artisan migrate

Run Migrations On Specific file

php artisan migrate --path=database/migrations/file.php

Run Seeder

php artisan db:seed class=DatabaseSeeder or php artisan db:seed

Run Scheduler

php artisan schedule:run

Make Controller

php artisan make:controller Controller --resource

Make Model

php artisan make:model

Make Seeder

php artisan make:seeder Seeder

Make Factories

php artisan make:factory Factory

Make Migrations

php artisan make:migration create__table

Make Migrations on Specific File

php artisan migrate # path=/database/migrations/.php

Make Middleware

php artisan make:middleware

Make Mail

php artisan make:mail Email

Make Deploy

php artisan route:cache php artisan cache:clear php artisan route:clear

========================= File Directory =========================

Assets

CSS Directory : public/css Access Local Path : http://127.0.0.1:8000/css/<< CSS_FILENAME >>.css Access Global Path : http://mifik.id/css/<< CSS_FILENAME >>.css

JS Directory : public/js Access Local Path : http://127.0.0.1:8000/js/<< JS_FILENAME >>.css Access Global Path : http://mifik.id/js/<< JS_FILENAME >>.css

JSON Directory : public/json Access Local Path : http://127.0.0.1:8000/json/<< JSON_FILENAME >>.css Access Global Path : http://mifik.id/json/<< JSON_FILENAME >>.css

Assets (Image, Video) Directory : public/assets Access Local Path : http://127.0.0.1:8000/assets/<< ASSETS_FILENAME_TYPE >> Access Global Path : http://mifik.id/assets/<< ASSETS_FILENAME_TYPE >>

API Controller

Directory : app/Http/Controllers/Api

Normal Controller

Directory : app/Http/Controllers/<< MENU_NAME/SUBMENU_NAME >>

Model

Directory : app/Http/Models/<< DB_TABLE_NAME >>

View

Directory : app/Http/Controllers/<< MENU_NAME/SUBMENU_NAME >>

============================ Rules ===============================

Penamaan CSS

<< CONTEXT_NAME >>_v1.0.css <= Iterate

Penamaan JS

<< CONTEXT_NAME >>_v1.0.js <= Iterate

Secret JSON

<< RANDOM_STRING >>_v1.0.js <= Iterate

Note : << v1 + 1 >>.0 If major change v1.<< 1 + 1 >> If minor change

================================================================== Last Updated : 06 Jul 2023

About

CustomAnalytic2 (WW2) is a Web app about dataset, story, and forum about World War. This app is portfolio project and created using Laravel 9

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages