This CLI program is built on the LARAVEL FRAMEWORK. The program is built to implement list of REST API endpoints that create customers, product, and calculate discounts on orders prior to creating the orders.
The program has three (3) endpoints
Create customer - Create customer endpoint
Create product - Create product endpoint
Create order - The endpoint calculate discount, create order and update customer revenue column on customer table
Repository Overview
The repository contains source code on how to setup the application
Specifications in the clone include
Endpoints that creates customers, products and customer orders
Core logic of the application reside within the Product, Customer and Order Controllers respectively