This is an e-commerce website designed for selling medical equipment online. The website is built using PHP follows MVC (Model-View-Controller) architecture.
-
git clone https://github.com/dzarurizkyy/medical-equipment-web
-
Update your database configurations in app/config/config.php. Replace placeholders with your own database credentials
'baseurl' => 'http://localhost/bnsp-project/public' 'dbhost' => 'your_db_host', 'dbuser' => 'your_db_user', 'dbname' => 'your_db_name', 'dbpass' => 'your_db_password',
-
To enable email functionalities, you need to register SMTP email with Google.
-
To enable payment functionalities, register Midtrans account and obtain your Client Key and Server Key.
-
http://localhost/bnsp-project/public
project-root/
├── app/ # Contains core logic of MVC application
| ├── config/ # Configuration files (e.g., database settings)
│ ├── controllers/ # Controllers that handle user requests and business logic
│ ├── core/ # Core classes (e.g., base controller and model classes)
│ ├── helpers/ # Helper functions for common tasks
│ ├── models/ # Models for interacting with database
│ ├── packages/ # Third-party packages (e.g., payment gateway integration)
│ └── views/ # Views (HTML templates) for displaying content to user
│
├── public/ # Publicly accessible files
│ ├── css/ # Stylesheets for website
│ ├── js/ # JavaScript files for interactivity
│ └── img/ # Images used in website
│
└── index.php # The main entry point for application
-
- Visit Site
- Create New Account
- Login
-
- Browse Products by Category
- Add/Remove Product from Cart
- Payment (Cash/Debit)
- Give Feedback
- Logout
-
- Manage Customer Database
- Add/Remove/Update Product
- Add/Remove/Update Supplier
- View/Delete Order Feedback
- Shipping Order
- Logout