$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
$ docker-compose up
Add a new category to the database.
{
}
{
}
Get all categories from the database.
{
}
Get a category by id.
{
}
Update a category by id.
{
}
{
}
Delete a category by id.
{
}
Add a new accessory to the database.
{
}
{
}
Get all accessories from the database.
{
}
Get an accessory by id.
{
}
Update an accessory by id.
{
}
{
}
Delete an accessory by id.
{
}
Get an image by name.
The image is returned in the response.
Get a front image by name.
The image is returned in the response.
Get a back image by name.
The image is returned in the response.
Get a side image by name.
The image is returned in the response.