Skip to content

Commit fc9429e

Browse files
author
juan.arroyo
committed
initial commit
0 parents  commit fc9429e

File tree

646 files changed

+12952
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

646 files changed

+12952
-0
lines changed

.env

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
HOST=0.0.0.0
2+
PORT=1337
3+
DATABASE_URI=mongodb+srv://combariza:NSk86Fm3s5ArvBj@cluster0.fvjdi.gcp.mongodb.net/senales?retryWrites=true&w=majority
4+
DATABASE_NAME=senales

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
build
3+
npm-debug.log
4+
.DS_Store
5+

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Strapi application
2+
3+
A quick description of your strapi application

api/.gitkeep

Whitespace-only changes.
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"routes": [
3+
{
4+
"method": "GET",
5+
"path": "/contenido-galeria",
6+
"handler": "contenido-galeria.find",
7+
"config": {
8+
"policies": []
9+
}
10+
},
11+
{
12+
"method": "PUT",
13+
"path": "/contenido-galeria",
14+
"handler": "contenido-galeria.update",
15+
"config": {
16+
"policies": []
17+
}
18+
},
19+
{
20+
"method": "DELETE",
21+
"path": "/contenido-galeria",
22+
"handler": "contenido-galeria.delete",
23+
"config": {
24+
"policies": []
25+
}
26+
}
27+
]
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers)
5+
* to customize this controller
6+
*/
7+
8+
module.exports = {};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/models.html#life-cycle-callbacks)
5+
* to customize this model
6+
*/
7+
8+
module.exports = {};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"kind": "singleType",
3+
"collectionName": "contenido_galerias",
4+
"info": {
5+
"name": "contenidoGaleria"
6+
},
7+
"options": {
8+
"increments": true,
9+
"timestamps": true
10+
},
11+
"attributes": {
12+
"titulo": {
13+
"type": "string"
14+
},
15+
"subtitulo": {
16+
"type": "string"
17+
},
18+
"descripccionUna": {
19+
"type": "text"
20+
},
21+
"descripccionDos": {
22+
"type": "text"
23+
},
24+
"InfoBusqueda": {
25+
"type": "string"
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/services.html#core-services)
5+
* to customize this service
6+
*/
7+
8+
module.exports = {};

api/contenido-mapa/config/routes.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"routes": [
3+
{
4+
"method": "GET",
5+
"path": "/contenido-mapa",
6+
"handler": "contenido-mapa.find",
7+
"config": {
8+
"policies": []
9+
}
10+
},
11+
{
12+
"method": "PUT",
13+
"path": "/contenido-mapa",
14+
"handler": "contenido-mapa.update",
15+
"config": {
16+
"policies": []
17+
}
18+
},
19+
{
20+
"method": "DELETE",
21+
"path": "/contenido-mapa",
22+
"handler": "contenido-mapa.delete",
23+
"config": {
24+
"policies": []
25+
}
26+
}
27+
]
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers)
5+
* to customize this controller
6+
*/
7+
8+
module.exports = {};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/models.html#life-cycle-callbacks)
5+
* to customize this model
6+
*/
7+
8+
module.exports = {};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"kind": "singleType",
3+
"collectionName": "contenidoMapa",
4+
"info": {
5+
"name": "contenidoMapa"
6+
},
7+
"options": {
8+
"increments": true,
9+
"timestamps": true
10+
},
11+
"attributes": {
12+
"latitud": {
13+
"type": "string"
14+
},
15+
"longitud": {
16+
"type": "string"
17+
},
18+
"zoom": {
19+
"type": "string"
20+
},
21+
"urlmapa": {
22+
"type": "string"
23+
},
24+
"mapaInformacion": {
25+
"type": "component",
26+
"repeatable": true,
27+
"component": "sections-mapa.panel-mapa"
28+
},
29+
"accessToken": {
30+
"type": "string"
31+
},
32+
"bearing": {
33+
"type": "string"
34+
},
35+
"pitch": {
36+
"type": "string"
37+
}
38+
}
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/services.html#core-services)
5+
* to customize this service
6+
*/
7+
8+
module.exports = {};

api/inicio-home/config/routes.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"routes": [
3+
{
4+
"method": "GET",
5+
"path": "/inicio-home",
6+
"handler": "inicio-home.find",
7+
"config": {
8+
"policies": []
9+
}
10+
},
11+
{
12+
"method": "PUT",
13+
"path": "/inicio-home",
14+
"handler": "inicio-home.update",
15+
"config": {
16+
"policies": []
17+
}
18+
},
19+
{
20+
"method": "DELETE",
21+
"path": "/inicio-home",
22+
"handler": "inicio-home.delete",
23+
"config": {
24+
"policies": []
25+
}
26+
}
27+
]
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers)
5+
* to customize this controller
6+
*/
7+
8+
module.exports = {};

api/inicio-home/models/inicio-home.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/models.html#life-cycle-callbacks)
5+
* to customize this model
6+
*/
7+
8+
module.exports = {};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"kind": "singleType",
3+
"collectionName": "inicio_homes",
4+
"info": {
5+
"name": "InicioHome"
6+
},
7+
"options": {
8+
"increments": true,
9+
"timestamps": true
10+
},
11+
"attributes": {
12+
"header": {
13+
"type": "component",
14+
"repeatable": true,
15+
"component": "inicio-home.header"
16+
},
17+
"imagen_inicio": {
18+
"collection": "file",
19+
"via": "related",
20+
"allowedTypes": [
21+
"images",
22+
"files",
23+
"videos"
24+
],
25+
"plugin": "upload",
26+
"required": false
27+
},
28+
"Rotador": {
29+
"type": "component",
30+
"repeatable": true,
31+
"component": "inicio-home.slider-home"
32+
},
33+
"categorias": {
34+
"type": "component",
35+
"repeatable": true,
36+
"component": "inicio-home.seccion"
37+
},
38+
"playvideo": {
39+
"model": "file",
40+
"via": "related",
41+
"allowedTypes": [
42+
"images",
43+
"files",
44+
"videos"
45+
],
46+
"plugin": "upload",
47+
"required": false
48+
},
49+
"ImageFondo": {
50+
"model": "file",
51+
"via": "related",
52+
"allowedTypes": [
53+
"images",
54+
"files",
55+
"videos"
56+
],
57+
"plugin": "upload",
58+
"required": false
59+
}
60+
}
61+
}
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/services.html#core-services)
5+
* to customize this service
6+
*/
7+
8+
module.exports = {};

api/lista-category/config/routes.json

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"routes": [
3+
{
4+
"method": "GET",
5+
"path": "/lista-categories",
6+
"handler": "lista-category.find",
7+
"config": {
8+
"policies": []
9+
}
10+
},
11+
{
12+
"method": "GET",
13+
"path": "/lista-categories/count",
14+
"handler": "lista-category.count",
15+
"config": {
16+
"policies": []
17+
}
18+
},
19+
{
20+
"method": "GET",
21+
"path": "/lista-categories/:id",
22+
"handler": "lista-category.findOne",
23+
"config": {
24+
"policies": []
25+
}
26+
},
27+
{
28+
"method": "POST",
29+
"path": "/lista-categories",
30+
"handler": "lista-category.create",
31+
"config": {
32+
"policies": []
33+
}
34+
},
35+
{
36+
"method": "PUT",
37+
"path": "/lista-categories/:id",
38+
"handler": "lista-category.update",
39+
"config": {
40+
"policies": []
41+
}
42+
},
43+
{
44+
"method": "DELETE",
45+
"path": "/lista-categories/:id",
46+
"handler": "lista-category.delete",
47+
"config": {
48+
"policies": []
49+
}
50+
}
51+
]
52+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers)
5+
* to customize this controller
6+
*/
7+
8+
module.exports = {};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
/**
4+
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/models.html#life-cycle-callbacks)
5+
* to customize this model
6+
*/
7+
8+
module.exports = {};

0 commit comments

Comments
 (0)