@artizy-io/strapi-template-corporate v1.0.6
strapi-template-corporate
A Strapi template to create Strapi projects pre-configured for corporate apps.
Usage
:warning: this template is forked from the strapi github but evolved
to be used as a smerge
strapi-template by @artizy-io/merge-utils/smerge utility.
the smerge
utility merges multiple templates into the strapi applications directories.
The @artizy-io/strapi-template-corporate
hosts more directories and files than a typical strapi-template.
Indeed it is pre-configured for a mongodb database configured with specific set of env variables.
It also configures all non-default extensions (documentation, graphql...) and configures the aws_with_endpoint plugin.
+-- api
+-- components
+-- config
+-- env
+-- production
server.js
database.js
plugins.js :
server.js
+-- data
+-- extensions
:warning: the smerge
strapi utility requires a strapi patch
which is applied in
a monorepo configuration, so please only use if following the artizy-backend-monorepo
structure.
to use the merged
strapi-template-corporate, update your backend strapi application under backend/package.json
with:
package.json:
"dependencies": {
"@artizy-io/strapi-template-blog": "^1.0.0",
"@artizy-io/strapi-template-ecommerce": "^1.0.0",
"@artizy-io/strapi-template-corporate": "^1.0.0",
...
"strapi-plugin-import-content": "npm:@artizy-io/strapi-plugin-import-content@1.0.3",
"strapi-provider-upload-aws-s3-with-endpoint": "npm:@artizy-io/strapi-provider-upload-aws-s3-with-endpoint@3.4.3",
...
},
"devDependencies": {
"@artizy-io/strapi-utils":"^1.0.0"
},
"scripts": {
"postinstall": "yarn run smerge",
...
},