Star Organic Farm is a full-featured web application designed to connect local farmers directly with consumers. This platform digitizes the supply chain for organic produce, managing everything from inventory tracking to order fulfillment.
This project demonstrates my core competency in Full Stack Development using the LAMP/WAMP stack, serving as the foundational application layer into which I am currently integrating predictive AI models.
- Role-Based Access Control: Distinct portals for Admins (Inventory/Sales management) and Customers (Shopping/Order tracking).
- Dynamic Inventory Management: Real-time updates of stock levels for organic produce using PHP and SQL.
- Secure Transaction Flow: Implemented secure checkout logic and session management.
- Database Optimization: Efficient SQL schema design to handle complex relationships between Users, Orders, and Products.
- Frontend: HTML5, CSS3, JavaScript (Vanilla)
- Backend: PHP (Native)
- Database: MySQL / SQL
- Version Control: Git
The application is built on a standard 3-tier architecture:
- Presentation Layer: HTML/CSS/JS frontend for a responsive user interface.
- Application Layer: PHP scripts handle business logic, form processing, and authentication.
- Data Layer: SQL database storing persistent user and transaction data.
As an AI Engineer, I am continuously upgrading this platform to include:
- Demand Forecasting: Implementing a Time-Series model (Arima) to predict stock shortages based on seasonal trends.
- Smart Recommendations: Adding a Collaborative Filtering engine to suggest products based on user purchase history.
- Clone the repository:
git clone [https://github.com/GabrielNyamu/Star-Organic-Farm-E-Commerce-.git](https://github.com/GabrielNyamu/Star-Organic-Farm-E-Commerce-.git)
- Database Setup:
- Create a database named
star_organic(or check the SQL file for the name). - Import the provided
.sqlfile into your MySQL server (via phpMyAdmin or CLI). - Update your
db_connect.php(or config file) with your database credentials.
- Create a database named
- Launch Server:
- Option A (XAMPP/WAMP): Move the project folder to
htdocsorwwwand access vialocalhost/Star-Organic-Farm... - Option B (PHP CLI): Run the following command in the project root:
php -S localhost:8000
- Option A (XAMPP/WAMP): Move the project folder to
Gabriel Ng'ang'a