Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fajarwz/blog-laravel11-crud-file
An implementation of Laravel 11 CRUD and file upload from fajarwz.com/blog
https://github.com/fajarwz/blog-laravel11-crud-file
crud example-project file-upload laravel php
Last synced: 7 days ago
JSON representation
An implementation of Laravel 11 CRUD and file upload from fajarwz.com/blog
- Host: GitHub
- URL: https://github.com/fajarwz/blog-laravel11-crud-file
- Owner: fajarwz
- Created: 2024-03-17T09:15:26.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-03-17T09:18:52.000Z (8 months ago)
- Last Synced: 2024-05-01T19:27:26.392Z (7 months ago)
- Topics: crud, example-project, file-upload, laravel, php
- Language: PHP
- Homepage: https://fajarwz.com/blog/laravel-11-crud-and-file-upload-tutorial-with-laravel-breeze/
- Size: 106 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel 11: CRUD and File Upload Tutorial With Laravel Breeze
This is an implementation of Laravel CRUD tutorial. A blog about this can be found here: [Laravel 11: CRUD and File Upload Tutorial With Laravel Breeze | Fajarwz](https://fajarwz.com/blog/laravel-11-crud-and-file-upload-tutorial-with-laravel-breeze/).## Installation
### Composer Packages
```
composer install
```## Configuration
### Create `.env` file from `.env.example`
```
cp .env.example .env
```### Generate Laravel App Key
```
php artisan key:generate
```### Database Integration
1. Open `.env` file
2. Create a database and connect it with Laravel with filling the DB name in `DB_DATABASE` key
3. Adjust the `DB_USERNAME`
4. Adjust the `DB_PASSWORD`### Migrate the Database Migration and Run the Seeder
```
php artisan migrate
```## Run App
Install NPM packages first
```
npm install
```Run local web server
```
php artisan serve
```Open new console and run the app with Vite
```
npm run dev
```