Skip to content

FlazeFy/Kumande_API

Repository files navigation

Kumande Backend Documentation

https://kumande.leonardhors.id

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

First Run

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

Run Application

php artisan serve

Run Application On Custom Pors

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

Run Migrations

php artisan migrate

Run Seeder

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

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

Make Deploy

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

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

API Controller

Directory : app/Http/Controllers/Api

Model

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

================================================================== Last Updated : 18 Apr 2023