For this assessment, you can create a new laravel project and either post it on github or a local zip
- Create a route for
POST->/api/campaign/create - Create a controller for
CampaignController.phpwith the API resource methods - Create a model for campaigns table and update the campaign controller to create, update, and delete
- Within
CampaignControllercreate method forindexand query the campaign model forstatus=activereturn the results - Create a database migration for the
campaignstable