This project is a uses three-tier architecture and is built using the following technologies:
- Frontend: HTML, CSS, JavaScript, Bootstrap
- Backend: Python, Flask
- Database: MySQL
The application provides functionality to add new orders and manage products, including adding and removing products.
- Add new orders
- Add new products
- Remove existing products
project-root/
├── backend/
│ ├── __init__.py
│ ├── orders_dao.py
│ ├── products_dao.py
│ ├── uom_dao.py
├── ui/
│ ├── css/
│ │ ├── bootstrap.min.css
│ │ ├── custom.css
│ │ ├── sidebar-menu.css
│ │ ├── style.css
│ ├── js/
│ │ ├── custom/
│ │ │ ├── common.js
│ │ │ ├── dashboard.js
│ │ │ ├── manage-product.js
│ │ │ ├── order.js
│ │ ├── packages/
│ │ ├── bootstrap.min.js
│ │ ├── jquery.min.js
│ ├── index.html
│ ├── manage-product.html
│ ├── order.html
├── server.py
├── sql_connection.py
└── README.md
- Python 3.x
- MySQL
- Flask
- Git
-
Clone the repository:
git clone https://github.com/username/repo.git cd repo -
Configure the database:
- Create a MySQL database.
- Update the
sql_connection.pyfile with your database connection details.
-
Run the application:
python backend/server.py
- Navigate to the Manage Product page.
- Fill in the product details.
- Click on the Add Product button.
- Navigate to the Manage Product page.
- Select the product to remove.
- Click on the Remove Product button.
- Navigate to the Order page.
- Fill in the order details.
- Click on the Add Order button.
- Fork the repository.
- Create a new branch.
- Make your changes.
- Commit your changes.
- Push to the branch.
- Create a pull request.
This project is licensed under the MIT License.
Feel free to customize this README to better fit your project and any additional details you'd like to include.