This repository contains the code resulting from the development process of an API using Laravel/Homestead framework for testing purposes. Related information in this link.
At the time this repository was created, the project was already being developed. The changes that were made and were not commited here are listed below:
- Created initial structure for the Models and it's Migrations
- Created an initial basic structure of Controllers
- Created the inicial Resource Routes for the Controllers
- Implemented properties for the User, Product, Category and Transaction Models
- Implemented the relationships between models
- Implemented the Migrations for the User, Product, Category and Transaction Models
- Implemented the Migration for the Pivot Category-Product table
- Created the User, Product, Category and Transactions Factories
- Executed the migrations and the database seeder with the factories created
- Created the Index, Show, Store, Update and Destroy methods into the UserController
- Created the Index and Show methods into BuyerController and SellerControler
- Defined Mutators and Accessors for the Models
- Created and implemented generalized JSON response methods
- Implented the generalized methods for JSON Error Responses