Laravel CRUD Application
This is a learning project of Laravel CRUD application that allows you to manage posts. It provides basic Create, Read, Update, and Delete operations for your posts.
Features
- Create, view, update, and delete posts.
- Assign categories to posts.
- User-friendly interface built with Bootstrap for a responsive design.
Installation
Follow these steps to get the application up and running:
- Clone the repository:
git clone https://github.com/AbhishekSinghkirola/laravel-crud
- Change into the project directory:
cd laravel-crud
- Install the dependencies using Composer:
composer update
- Configure the database connection in the
.env
file with your database credentials:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_password
- Migrate the database:
php artisan migrate
- Start the development server:
php artisan serve
- Open your web browser and visit http://localhost:8000 to see the application.
Usage/Examples
- To create a new post, click on the "Create" button and provide the necessary information.
- To view, update, or delete a category or post, navigate to the respective sections and use the provided actions.
- To view the Trashed Posts, click on the "Trashed" button.
- The application includes validation to ensure data integrity and proper input.
Credits
- Laravel: https://laravel.com/
- Bootstrap: https://getbootstrap.com/