rm strapi

This commit is contained in:
tmshv committed 2026-04-24 20:55:10 +03:00
1 parent 41fbb72216
commit 0665fa7ae7
47 files changed
-32540

No files matched your search

-6
View File
@@ -1,6 +0,0 @@
*.db
node_modules
.env
.cache
.tmp
build
-11
View File
@@ -1,11 +0,0 @@
DO_SPACE_KEY=<digital_ocean_space_key>
DO_SPACE_SECRET=<digital_ocean_space_secret>
DO_SPACE_REGION=<digital_ocean_space_region>
DO_SPACE_ENDPOINT=<digital_ocean_space_endpoint>
DO_SPACE_CDN=<digital_ocean_space_cdn_domain>
DO_SPACE=<digital_ocean_space>
ADMIN_JWT_SECRET=<admin_jwt_secret>
JWT_SECRET=<jwt_secret>
DATABASE_FILENAME=<path_to_sqlite_db>
HOST=0.0.0.0
PORT=80
-5
View File
@@ -1,5 +0,0 @@
.env
.cache
.tmp
build
node_modules
-15
View File
@@ -1,15 +0,0 @@
FROM node:14-alpine
RUN apk add --no-cache git
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
EXPOSE 80
ENV PORT 80
ENV NODE_ENV production
CMD ["sh", "-c", "npm start"]
-3
View File
@@ -1,3 +0,0 @@
# Hudozka strapi CMS
A quick description of your strapi application
Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 KiB

Whitespace-only changes.
@@ -1,28 +0,0 @@
{
"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": []
}
}
]
}
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/controllers.html#core-controllers)
* to customize this controller
*/
module.exports = {};
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/models.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};
@@ -1,24 +0,0 @@
{
"kind": "singleType",
"collectionName": "homes",
"info": {
"name": "Home",
"description": ""
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": false
},
"attributes": {
"title": {
"type": "string"
},
"cards": {
"type": "dynamiczone",
"components": [
"hudozka.page-card"
]
}
}
}
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/services.html#core-services)
* to customize this service
*/
module.exports = {};
@@ -1,28 +0,0 @@
{
"routes": [
{
"method": "GET",
"path": "/menu",
"handler": "menu.find",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/menu",
"handler": "menu.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/menu",
"handler": "menu.delete",
"config": {
"policies": []
}
}
]
}
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/controllers.html#core-controllers)
* to customize this controller
*/
module.exports = {};
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/models.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};
@@ -1,25 +0,0 @@
{
"kind": "singleType",
"collectionName": "menus",
"info": {
"name": "Menu",
"description": ""
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": false
},
"attributes": {
"menu": {
"type": "component",
"repeatable": false,
"component": "hudozka.card-grid",
"required": true
},
"homeLabel": {
"type": "string",
"required": true
}
}
}
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/services.html#core-services)
* to customize this service
*/
module.exports = {};
@@ -1,52 +0,0 @@
{
"routes": [
{
"method": "GET",
"path": "/pages",
"handler": "page.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/pages/count",
"handler": "page.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/pages/:id",
"handler": "page.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/pages",
"handler": "page.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/pages/:id",
"handler": "page.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/pages/:id",
"handler": "page.delete",
"config": {
"policies": []
}
}
]
}
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/controllers.html#core-controllers)
* to customize this controller
*/
module.exports = {};
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/models.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};
@@ -1,55 +0,0 @@
{
"kind": "collectionType",
"collectionName": "pages",
"info": {
"name": "Page",
"description": ""
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": true
},
"attributes": {
"title": {
"type": "string"
},
"excerpt": {
"type": "text"
},
"cover": {
"model": "file",
"via": "related",
"allowedTypes": [
"images"
],
"plugin": "upload",
"required": false
},
"content": {
"type": "dynamiczone",
"components": [
"hudozka.document",
"hudozka.image",
"hudozka.text",
"hudozka.embed",
"hudozka.card-grid"
]
},
"tags": {
"collection": "tag",
"via": "page"
},
"slug": {
"type": "string",
"required": true,
"unique": true
},
"date": {
"type": "date"
},
"parent": {
"model": "page"
}
}
}
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/services.html#core-services)
* to customize this service
*/
module.exports = {};
@@ -1,52 +0,0 @@
{
"routes": [
{
"method": "GET",
"path": "/tags",
"handler": "tag.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/tags/count",
"handler": "tag.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/tags/:id",
"handler": "tag.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/tags",
"handler": "tag.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/tags/:id",
"handler": "tag.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/tags/:id",
"handler": "tag.delete",
"config": {
"policies": []
}
}
]
}
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/controllers.html#core-controllers)
* to customize this controller
*/
module.exports = {};
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/models.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {};
@@ -1,28 +0,0 @@
{
"kind": "collectionType",
"collectionName": "tags",
"info": {
"name": "Tag",
"description": ""
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": false
},
"attributes": {
"slug": {
"type": "string",
"required": true,
"unique": true,
"minLength": 1
},
"name": {
"type": "string"
},
"page": {
"via": "tags",
"model": "page"
}
}
}
@@ -1,8 +0,0 @@
'use strict';
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/services.html#core-services)
* to customize this service
*/
module.exports = {};
@@ -1,15 +0,0 @@
{
"collectionName": "components_hudozka_card_grids",
"info": {
"name": "CardGrid",
"icon": "braille"
},
"options": {},
"attributes": {
"items": {
"type": "component",
"repeatable": true,
"component": "hudozka.page-card"
}
}
}
@@ -1,22 +0,0 @@
{
"collectionName": "components_hudozka_documents",
"info": {
"name": "Document",
"icon": "file"
},
"options": {},
"attributes": {
"media": {
"model": "file",
"via": "related",
"allowedTypes": [
"files"
],
"plugin": "upload",
"required": false
},
"title": {
"type": "string"
}
}
}
@@ -1,14 +0,0 @@
{
"collectionName": "components_hudozka_embeds",
"info": {
"name": "Embed",
"icon": "vial"
},
"options": {},
"attributes": {
"src": {
"type": "string",
"required": true
}
}
}
@@ -1,26 +0,0 @@
{
"collectionName": "components_hudozka_images",
"info": {
"name": "Image",
"icon": "image"
},
"options": {},
"attributes": {
"media": {
"model": "file",
"via": "related",
"allowedTypes": [
"images"
],
"plugin": "upload",
"required": true
},
"wide": {
"type": "boolean",
"default": false
},
"caption": {
"type": "text"
}
}
}
@@ -1,23 +0,0 @@
{
"collectionName": "components_hudozka_page_cards",
"info": {
"name": "PageCard",
"icon": "award"
},
"options": {},
"attributes": {
"page": {
"model": "page"
},
"layout": {
"type": "enumeration",
"enum": [
"small",
"medium",
"big"
],
"default": "small",
"required": true
}
}
}
@@ -1,16 +0,0 @@
{
"collectionName": "components_hudozka_tags",
"info": {
"name": "Tag",
"icon": "horse-head"
},
"options": {},
"attributes": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
@@ -1,14 +0,0 @@
{
"collectionName": "components_hudozka_texts",
"info": {
"name": "Text",
"icon": "candy-cane"
},
"options": {},
"attributes": {
"text": {
"type": "richtext",
"required": true
}
}
}
@@ -1,15 +0,0 @@
module.exports = ({ env }) => ({
defaultConnection: 'default',
connections: {
default: {
connector: 'bookshelf',
settings: {
client: 'sqlite',
filename: env('DATABASE_FILENAME', '.tmp/data.db'),
},
options: {
useNullAsDefault: true,
},
},
},
});
@@ -1,13 +0,0 @@
'use strict';
/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*
* See more details here: https://strapi.io/documentation/v3.x/concepts/configurations.html#bootstrap
*/
module.exports = () => {};
@@ -1,21 +0,0 @@
'use strict';
/**
* Cron config that gives you an opportunity
* to run scheduled jobs.
*
* The cron format consists of:
* [SECOND (optional)] [MINUTE] [HOUR] [DAY OF MONTH] [MONTH OF YEAR] [DAY OF WEEK]
*
* See more details here: https://strapi.io/documentation/v3.x/concepts/configurations.html#cron-tasks
*/
module.exports = {
/**
* Simple example.
* Every monday at 1am.
*/
// '0 1 * * 1': () => {
//
// }
};
@@ -1,5 +0,0 @@
'use strict';
module.exports = async (/* ctx */) => {
// return ctx.notFound('My custom message 404');
};
@@ -1,14 +0,0 @@
module.exports = ({ env }) => ({
upload: {
provider: 'digitalocean',
providerOptions: {
key: env('DO_SPACE_KEY', ''),
secret: env('DO_SPACE_SECRET', ''),
endpoint: env('DO_SPACE_ENDPOINT', ''),
space: env('DO_SPACE', ''),
region: env('DO_SPACE_REGION', ''),
cdnDomain: env('DO_SPACE_CDN', ''),
cdn: true,
},
},
});
@@ -1,9 +0,0 @@
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
admin: {
auth: {
secret: env('ADMIN_JWT_SECRET', '<admin_jwt_secret>'),
},
},
});
Whitespace-only changes.
@@ -1,3 +0,0 @@
module.exports = {
jwtSecret: process.env.JWT_SECRET || '<jwt_secret>'
};
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

File diff suppressed because it is too large. Load diff
-38
View File
@@ -1,38 +0,0 @@
{
"name": "hudozka-strapi-api",
"private": true,
"version": "0.1.0",
"description": "A Strapi application",
"scripts": {
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi"
},
"devDependencies": {},
"dependencies": {
"knex": "^2.4.0",
"sqlite3": "latest",
"strapi": "^3.6.11",
"strapi-admin": "^3.6.11",
"strapi-connector-bookshelf": "^3.6.8",
"strapi-plugin-content-manager": "^3.6.8",
"strapi-plugin-content-type-builder": "^3.6.8",
"strapi-plugin-email": "^3.6.8",
"strapi-plugin-upload": "^3.6.11",
"strapi-plugin-users-permissions": "^3.6.11",
"strapi-provider-upload-digitalocean": "git+https://github.com/iliyat/strapi-provider-upload-digitalocean.git",
"strapi-utils": "^3.6.8"
},
"author": {
"name": "A Strapi developer"
},
"strapi": {
"uuid": "d54aa6bd-8d50-4bb1-80ac-d905410453e0"
},
"engines": {
"node": ">=12.x.x",
"npm": ">=6.0.0"
},
"license": "MIT"
}
@@ -1,3 +0,0 @@
# To prevent search engines from seeing the site altogether, uncomment the next two lines:
# User-Agent: *
# Disallow: /
Whitespace-only changes.