https://github.com/dunghenry/laravel_api
laravel + mysql
https://github.com/dunghenry/laravel_api
authentication laravel mysql
Last synced: 2 months ago
JSON representation
laravel + mysql
- Host: GitHub
- URL: https://github.com/dunghenry/laravel_api
- Owner: dunghenry
- Created: 2022-10-09T04:36:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T04:22:36.000Z (over 3 years ago)
- Last Synced: 2025-06-08T05:44:52.630Z (about 1 year ago)
- Topics: authentication, laravel, mysql
- Language: PHP
- Homepage:
- Size: 410 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### API use Laravel + MySQL
#### Create controller
```js
php artisan make:controller CustomerController --resource
```
#### Create collection resource
```js
php artisan make:resource CustomerCollection --collection
```
#### Create resource
```js
php artisan make:resource CustomerResource
```
### Route
```js
php artisan route:list
```
### Create Post
```js
php artisan make:model Post -mcr
```
### Create CategoryPost
```js
php artisan make:model CategoryPost -mcr
```
### ADD SCSS
```js
npx mix watch
```
```js
npm install sass-loader@^12.1.0 sass resolve-url-loader@^5.0.0 laravel-mix --save-dev
```