A simple and powerful Point of Sale (POS) management system with invoice generation, built with Laravel 10 and MySQL.
- Point of Sale (POS)
- Order Management
- Pending Orders
- Completed Orders
- Pending Due Payments
- Stock Management
- Product Management
- Products
- Categories
- Employee Management
- Customer Management
- Supplier Management
- Salary Management
- Advance Salary
- Pay Salary
- Salary History
- Attendance Management
- Role & Permission System
- User Management
- Database Backup
To get started, clone or download the repository:
git clone https://github.com/fajarghifar/laravel-point-of-sale
Once you’ve cloned the repository, navigate to the project directory and install dependencies:
cd laravel-point-of-sale
composer install
Open the project in your preferred code editor:
code .
Rename the .env.example
file to .env
:
cp .env.example .env
Generate the application key:
php artisan key:generate
To set the Faker locale (for example, to Indonesian), add the following line at the end of your .env
file:
FAKER_LOCALE="id_ID"
Configure your database credentials in the .env
file.
Run the following command to migrate and seed the database:
php artisan migrate:fresh --seed
Note: If you encounter any errors, try rerunning the command.
Create a symbolic link for storage:
php artisan storage:link
To run the application locally, start the Laravel development server:
php artisan serve
Use the following credentials to log in:
- Username:
admin
- Password:
password
Open the ./config/cart.php
file to configure settings like tax rates, number formats, and more.
For more details, check out the hardevine/shoppingcart documentation.
If you haven't already, run this command to create the storage link:
php artisan storage:link
Run the development server:
php artisan serve
Try logging in with:
- Username:
admin
- Password:
password
Have suggestions or want to contribute? Here’s how:
- Submit a Pull Request (PR)
- Report issues or request features by creating an Issue
This project is licensed under the MIT License.