Commit a214b146 by Ravindra Kanojiya

created testimonial section

1 parent 0df14bd4
{
"kind": "collectionType",
"collectionName": "testimonials",
"info": {
"singularName": "testimonial",
"pluralName": "testimonials",
"displayName": "Testimonial",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"rating": {
"type": "integer"
},
"description": {
"type": "text"
},
"title": {
"type": "string"
}
}
}
'use strict';
/**
* testimonial controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::testimonial.testimonial');
'use strict';
/**
* testimonial router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::testimonial.testimonial');
'use strict';
/**
* testimonial service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::testimonial.testimonial');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!