Commit 603aa5d9 authored by alain's avatar alain 🐙
Browse files

add homepage and layers to strapi

parent a8ae2a7d
{
"routes": [
{
"method": "GET",
"path": "/home",
"handler": "home.find",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/home",
"handler": "home.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/home",
"handler": "home.delete",
"config": {
"policies": []
}
}
]
}
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers)
* to customize this controller
*/
module.exports = {};
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/models.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};
{
"kind": "singleType",
"collectionName": "homes",
"info": {
"name": "Home"
},
"options": {
"increments": true,
"timestamps": true
},
"attributes": {
"introduction": {
"type": "richtext"
},
"layer_explanation_1": {
"type": "richtext"
},
"layer_explanation_2": {
"type": "richtext"
},
"layer_explanation_3": {
"type": "richtext"
},
"layer_explanation_4": {
"type": "richtext"
},
"three_stacks_1": {
"type": "richtext"
},
"three_stacks_2": {
"type": "richtext"
},
"three_stacks_3": {
"type": "richtext"
},
"three_stacks_intro": {
"type": "richtext"
}
}
}
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/services.html#core-services)
* to customize this service
*/
module.exports = {};
{
"routes": [
{
"method": "GET",
"path": "/layers",
"handler": "layer.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/layers/count",
"handler": "layer.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/layers/:id",
"handler": "layer.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/layers",
"handler": "layer.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/layers/:id",
"handler": "layer.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/layers/:id",
"handler": "layer.delete",
"config": {
"policies": []
}
}
]
}
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers)
* to customize this controller
*/
module.exports = {};
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/models.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};
{
"kind": "collectionType",
"collectionName": "layers",
"info": {
"name": "Layer"
},
"options": {
"increments": true,
"timestamps": true
},
"attributes": {
"title": {
"type": "string"
},
"body": {
"type": "richtext"
}
}
}
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/services.html#core-services)
* to customize this service
*/
module.exports = {};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment