Skip to content
hemreduruPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Argumate v0.1

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.

Installation

Requirements

  • PHP 8.2 or higher
  • Composer
  • Node.js and npm
  • MySQL or another database server

Steps

  1. Clone the repository:

    git clone https://github.com/hemreduru/argumate.git
    cd argumate
  2. Install the necessary dependencies:

    composer install
    npm install
  3. Create the .env file and configure it:

    cp .env.example .env
    php artisan key:generate
  4. Create the database and run the migrations:

    php artisan migrate --seed
  5. Start the application:

    php artisan serve
    npm run dev

Usage

Creating a Post

  • Use the create.blade.php file to create a new post.
  • The select2 plugin is used for selecting categories.
  • The trumbowyg plugin is used for content editing.

Editing a Post

  • Use the edit.blade.php file to edit an existing post.
  • Authorization checks are performed.

Deleting a Post

  • Use the destroy method to delete posts.
  • Authorization checks are performed.

Admin Panel

The SB Admin 2 theme is used for the admin panel. This theme provides a user-friendly interface and various management features.

User Types

  • 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.

Contributing

If you would like to contribute, please submit a pull request. All contributions are welcome.

License

This project is licensed under the MIT License. For more information, see the LICENSE file.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages