Skip to content

dunghenry/laravel_api

Repository files navigation

API use Laravel + MySQL

Create controller

php artisan make:controller CustomerController --resource

Create collection resource

php artisan make:resource CustomerCollection --collection

Create resource

 php artisan make:resource CustomerResource

Route

php artisan route:list

Create Post

php artisan make:model Post -mcr

Create CategoryPost

php artisan make:model  CategoryPost -mcr

ADD SCSS

npx mix watch
npm install sass-loader@^12.1.0 sass resolve-url-loader@^5.0.0 laravel-mix --save-dev

About

laravel + mysql

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors