Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fajarwz/blog-laravel10-crud-image
An implementation of Laravel 10 CRUD and image upload from fajarwz.com/blog
https://github.com/fajarwz/blog-laravel10-crud-image
crud example-project image-upload laravel php
Last synced: 7 days ago
JSON representation
An implementation of Laravel 10 CRUD and image upload from fajarwz.com/blog
- Host: GitHub
- URL: https://github.com/fajarwz/blog-laravel10-crud-image
- Owner: fajarwz
- Created: 2023-02-16T17:10:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-17T03:16:34.000Z (4 months ago)
- Last Synced: 2024-07-17T06:04:12.145Z (4 months ago)
- Topics: crud, example-project, image-upload, laravel, php
- Language: PHP
- Homepage: https://fajarwz.com/blog/laravel-10-crud-and-image-upload-tutorial-with-laravel-breeze-and-repo-example/
- Size: 134 KB
- Stars: 12
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
Awesome Lists containing this project
README
# Laravel 10 CRUD and Image Upload Tutorial with Laravel Breeze and Repo Example
This is an implementation of Laravel CRUD tutorial. A blog about this can be found here: [Laravel 10 CRUD and Image Upload Tutorial with Laravel Breeze and Repo Example | Fajarwz](https://fajarwz.com/blog/laravel-10-crud-and-image-upload-tutorial-with-laravel-breeze-and-repo-example/).## 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
```## Test App
```
php artisan test
```