Argumate is a blog application where users can create, edit, and delete blog posts. This project is built using PHP 8.2 and Laravel 11.
- PHP 8.2 or higher
- Composer
- Node.js and npm
- MySQL or another database server
-
Clone the repository:
git clone https://github.com/hemreduru/argumate.git cd argumate -
Install the necessary dependencies:
composer install npm install
-
Create the
.envfile and configure it:cp .env.example .env php artisan key:generate
-
Create the database and run the migrations:
php artisan migrate --seed
-
Start the application:
php artisan serve npm run dev
- Use the
create.blade.phpfile to create a new post. - The
select2plugin is used for selecting categories. - The
trumbowygplugin is used for content editing.
- Use the
edit.blade.phpfile to edit an existing post. - Authorization checks are performed.
- Use the
destroymethod to delete posts. - Authorization checks are performed.
The SB Admin 2 theme is used for the admin panel. This theme provides a user-friendly interface and various management features.
- Admin: Can create, edit, and delete all posts and users also can access admin page.
- User: Can create, edit, and delete their own posts.
- Editor: Can create, edit, and delete all posts.
If you would like to contribute, please submit a pull request. All contributions are welcome.
This project is licensed under the MIT License. For more information, see the LICENSE file.