This API is just for training and learning about Laravel.
All of this is documented in OpenAPI (located in the root).
- List all favorite music
- Create a new favorite music
- Update all of an existing music
- Update a part of an existing music
- Delete a music
You can use php artisan migrate
or:
MySQL Query
CREATE TABLE `favorite_music` (
`id` BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
`name` VARCHAR(255) NOT NULL,
`artist` VARCHAR(255) NOT NULL,
`tier` INT NOT NULL
);