Database Schema is here: http://www.laravelsd.com/share/sCtwPh
The goal is to create a simple API that consists of three endpoints.
1. A GET endpoint that returns the monthly price for broadband that:
Accepts: Provider name, ProductReturns: Monthly price or failure message.
2. A GET endpoint for energy price that:
Accepts:Provider name, Product, Product variationReturns:Monthly price or failure message.
3. A PATCH endpoint that updates an energy price
Accepts:Provider name, Product, Product variation, New PriceReturns:A success or failure message.
1. Get Broadband Price: http://localhost:8000/api/getBroadBandPrice (GET)
2. Get Energy Price: http://localhost:8000/api/getEnergyPrice (GET)
3. Update Energy Price: http://localhost:8000/api/saveEnergyPrice (PATCH)