https://github.com/meezaand/laravel-product-management
A Laravel application for managing products, including features for creating, editing, and deleting products, as well as managing their details such as name, price, description, and stock quantity.
https://github.com/meezaand/laravel-product-management
laravel php reactjs sqlite tailwindcss
Last synced: 3 days ago
JSON representation
A Laravel application for managing products, including features for creating, editing, and deleting products, as well as managing their details such as name, price, description, and stock quantity.
- Host: GitHub
- URL: https://github.com/meezaand/laravel-product-management
- Owner: MeezaanD
- Created: 2024-11-07T18:02:39.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-02-11T07:44:55.000Z (5 months ago)
- Last Synced: 2025-05-29T15:15:07.760Z (about 2 months ago)
- Topics: laravel, php, reactjs, sqlite, tailwindcss
- Language: PHP
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Product Management System
A Laravel application for managing products, including features for creating, editing, and deleting products, as well as managing their details such as name, price, description, and stock quantity.
---
## Prerequisites
Before running the application, ensure you have the following installed:
- **PHP** (8.x or above recommended)
- **Composer** (PHP package manager)
- **Laravel** (for developing and running the Laravel application)
- **SQLite** (for local database setup)
- **Node.js & npm** (for managing frontend dependencies)---
## Installation & Setup
### 1. Clone the Repository
Clone the repository to your local machine using Git:
```bash
git clone https://github.com/MeezaanD/laravel-product-management
```Navigate to the project directory:
```bash
cd laravel-product-management
```### 2. Install Dependencies
Install PHP dependencies using Composer:
```bash
composer install
```Install frontend dependencies using npm:
```bash
npm install
```### 3. Configure Environment
Copy the example environment file:
```bash
cp .env.example .env
```Set up the SQLite database by ensuring the following line is present in `.env`:
```plaintext
DB_CONNECTION=sqlite
```Create the SQLite database file:
```bash
touch database/database.sqlite
```### 4. Generate Application Key
Generate the Laravel application key for secure encryption:
```bash
php artisan key:generate
```### 5. Run Migrations
Set up the database schema by running migrations:
```bash
php artisan migrate
```---
## Running the Application
Start the Laravel development server:
```bash
php artisan serve
```The application will be available at **http://localhost:8000**.
---
## Frontend Development
To compile and watch frontend assets during development:
```bash
npm run dev
```For production optimization and minification of frontend assets:
```bash
npm run build
```---
### Happy Coding! 🚀