This project is an Laravel-based inventory management system that allows you to manage products, suppliers, customers, stock entries, and exits, with a user-friendly interface and real-time charts.
- Full CRUD for Users, Customers, Suppliers, and Products.
- Stock Entries and Exits management with validations.
- Dashboard with Chart.js visualizations.
- SoftDeletes support for restoring deleted items.
- Responsive design with Tailwind CSS.
- Built with Laravel Jetstream and Livewire for authentication, user management, and interactive UI components.
Before installing the project, make sure you have:
- PHP 8.x
- Composer
- Node.js and NPM
- MySQL or PostgreSQL
Follow these steps to set up the project in your environment:
- Clone the repository:
git clone https://github.com/cawtoz/stocket.git cd stocket - Install PHP and Node.js dependencies:
composer install npm install && npm run build - Configure environment variables:
cp .env.example .env php artisan key:generate
- Set up the database in the
.envfile: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 - Run migrations and seeders:
php artisan migrate --seed
- Compile frontend assets (Jetstream & Livewire):
npm run dev
- Start the server:
php artisan serve
app/
├── Http/
│ ├── Controllers/
│ │ ├── ProductController.php
│ │ ├── SupplierController.php
│ │ ├── CustomerController.php
│ │ ├── StockEntryController.php
│ │ ├── StockExitController.php
│ │ ├── DashboardController.php
├── Models/
│ ├── Product.php
│ ├── Supplier.php
│ ├── Customer.php
│ ├── StockEntry.php
│ ├── StockExit.php
resources/
├── views/
│ ├── dashboard.blade.php
│ ├── products/
│ ├── suppliers/
│ ├── customers/
│ ├── entries/
│ ├── exits/