A comprehensive web-based inventory management solution for tracking products, sales, and purchases. This system provides real-time stock monitoring, sales processing, and detailed reporting capabilities.
- 🔐 User Authentication: Secure login system
- 📊 Stock Management: View, update, and delete inventory items
- 🛒 Purchase Processing: Add new products to inventory
- 💰 Sales Processing: Process sales with automatic inventory updates
- 📈 Reports Generation:
- 📋 Purchase reports with date filtering
- 📉 Sales reports with date filtering
- 📄 PDF Export: Generate printable reports
- ⚙️ PHP 7.0 or higher
- 🗄️ MySQL/MariaDB
- 🌐 Web server (Apache/Nginx)
- 🖥️ Web browser with JavaScript enabled
-
📥 Clone the repository or download the source code
-
🗃️ Database Setup
CREATE DATABASE ims480; USE ims480;
-
📂 Import Database Schema
- Import the SQL file from
DATABASE FILE/ims480.sqlusing phpMyAdmin or MySQL command line:
mysql -u username -p ims480 < DATABASE FILE/ims480.sql - Import the SQL file from
-
⚙️ Configure Database Connection
- Open
connection.phpand update the database credentials if needed:
$servername = "localhost:3333"; $username = "root"; $password = ""; $dbname = "ims480";
- Open
-
🚀 Deploy to Web Server
- Move all files to your web server's document root or a subdirectory
- Ensure PHP has write permissions to the directory
-
🔑 Login
- Access the system via:
http://your-server/path-to-project/login.php - Default credentials:
- Username:
admin - Password:
admin
- Username:
- Access the system via:
-
📊 Stock Management
- View current inventory levels
- Update product details (name, description, quantity, price)
- Remove products from inventory
-
➕ Adding New Products
- Navigate to the Purchase menu
- Enter product details including name, description, unit count, and price
- Submit to add to inventory
-
💲 Processing Sales
- Select products from the Sales menu
- Enter quantity to sell
- System automatically updates inventory
-
📊 Generating Reports
- Select date ranges for filtered reports
- View purchase history and total expenses
- View sales history and revenue
- Export reports to PDF using the print function
- 🔐 Change the default admin credentials immediately after installation
- 🛡️ Consider implementing additional authentication measures for production
- 🔒 Use HTTPS for secure data transmission
- 🔑 Restrict database user permissions
- 🎨 Frontend: HTML, CSS, Bootstrap 5
- ⚙️ Backend: PHP
- 🗄️ Database: MySQL
- 📚 Plugins/Libraries: Bootstrap 5, jQuery
This project is licensed under the MIT License - see the LICENSE file for details.
Having issues or need enhancements? Open an issue in the GitHub repository or contact the developer.
© 2025 Inventory Management System | Developed with by Romil-Agarwal