Skip to content

This is a Laravel-based RESTful API for managing an online shop. It includes features like product management, category grouping, attributes, image uploads, and more.

Notifications You must be signed in to change notification settings

akram-khodami/shop

Repository files navigation

Build Status Latest Stable Version License

🛍️ Shop API

This is a Laravel-based RESTful API for managing an online shop.
It includes features like product management, category grouping, attributes, image uploads, and more.

🚀 Features

  • ✅ Product CRUD (with images and attributes)
  • ✅ Category grouping
  • ✅ Attribute-based filtering
  • ✅ Upload and manage product images
  • ✅ RESTful API built with Laravel 12
  • ✅ API validation with Form Requests
  • ✅ Modular structure for future expansions
  • Email confirmation via Event + Listener + Queue

📦 Requirements

  • PHP 8.2+
  • Laravel 12
  • Composer
  • MySQL or compatible database
  • Postman (for testing the API)

📂 Project Structure

  • app/Http/Controllers: Contains controllers for products, cart, etc.
  • app/Models: Data models.
  • app/Services: Business logic layer.
  • app/repositories: Repository Pattern.

⚙️ Installation

git clone https://github.com/akram-khodami/shop.git
cd shop
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
php artisan serve
php artisan queue:work  # For production
# php artisan queue:listen  # For development (restarts after each job)

License

About

This is a Laravel-based RESTful API for managing an online shop. It includes features like product management, category grouping, attributes, image uploads, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages