Skip to content

KhawarMehfooz/laravel-pos

Repository files navigation

Point of Sale (POS) API

A REST API built with Laravel for a Point of Sale system. This API provides endpoints for managing sales, inventory, staff, and more with role-based access control.

Tech Stack

  • Laravel 11
  • Laravel Sanctum (Authentication)

Features & Roadmap

Authentication & Authorization ✅

  • User registration with automatic superadmin role
  • Login with token generation
  • Protected routes with token authentication
  • User profile retrieval
  • Logout functionality

Categories Management 🚀

  • Create categories
  • List all categories
  • Update category details
  • Delete categories
  • Get single category

Products/Inventory Management 🚀

  • Add new products
  • List all products
  • Update product details
  • Delete products
  • Stock management
  • Product search
  • Get single product

Transaction Management 🚀

  • Create new sale
  • List all sales
  • Get sale details
  • Refund management
  • Sales reports
  • Daily/weekly/monthly statistics

Staff Management 🚀

  • Add staff members
  • List all staff
  • Update staff details
  • Remove staff
  • Role assignment
  • Staff permissions

Settings 🚀

  • Store details
  • Tax configurations
  • Receipt customization
  • General preferences

Role-Based Access

The API implements role-based access control with the following roles:

  • Superadmin (Full access)
  • Admin (Store management)
  • Cashier (Sales and basic inventory)
  • Staff (Limited access)

About

A point of sale system api developed with laravel

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages