Skip to content

Commit

Permalink
BFME Added
Browse files Browse the repository at this point in the history
Signed-off-by: Nirmal Khedkar <nirmalhk7@gmail.com>
  • Loading branch information
nirmalhk7 committed May 1, 2021
1 parent dc99f17 commit 769bef3
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 0 deletions.
28 changes: 28 additions & 0 deletions api/bfme/config/routes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"routes": [
{
"method": "GET",
"path": "/bfme",
"handler": "bfme.find",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/bfme",
"handler": "bfme.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/bfme",
"handler": "bfme.delete",
"config": {
"policies": []
}
}
]
}
8 changes: 8 additions & 0 deletions api/bfme/controllers/bfme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers)
* to customize this controller
*/

module.exports = {};
8 changes: 8 additions & 0 deletions api/bfme/models/bfme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks)
* to customize this model
*/

module.exports = {};
25 changes: 25 additions & 0 deletions api/bfme/models/bfme.settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"kind": "singleType",
"collectionName": "bfmes",
"info": {
"name": "BFME",
"description": ""
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": false
},
"attributes": {
"description": {
"type": "text",
"required": true,
"default": "Default Description"
},
"body": {
"type": "richtext",
"default": "Nothing Here",
"required": true
}
}
}
8 changes: 8 additions & 0 deletions api/bfme/services/bfme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services)
* to customize this service
*/

module.exports = {};

0 comments on commit 769bef3

Please sign in to comment.