This commit is contained in:
2024-02-20 17:15:27 +08:00
committed by huty
parent 6706e1a633
commit 34158042ad
1529 changed files with 177765 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
var events = require('./events.js');
exports.events = function (req, res) {
res.json(events);
};
exports.event = function (req, res) {
res.json(events[req.param.eventId]);
};

View File

@@ -0,0 +1,17 @@
module.exports = [
{
id: 1,
title: 'DockerCon 2021',
date: '2021-05-27'
},
{
id: 2,
title: 'KubeCon Europe 2021',
date: '2021-08-16'
},
{
id: 3,
title: 'KubeCon North America 2021',
date: '2021-11-23'
}
];

View File

@@ -0,0 +1,20 @@
module.exports = [
{
id: 1,
title: 'DockerCon 2021',
detail: 'The container conference for the industry',
date: '2021-05-27'
},
{
id: 2,
title: 'KubeCon Europe 2021',
detail: 'The Cloud Native Computing Foundations flagship conference',
date: '2021-08-16'
},
{
id: 3,
title: 'KubeCon North America 2021',
detail: 'The Cloud Native Computing Foundations flagship conference',
date: '2021-11-23'
}
];

View File

@@ -0,0 +1,17 @@
module.exports = [
{
id: 1,
title: 'DockerCon 2021',
date: '2021-05-27'
},
{
id: 2,
title: 'KubeCon Europe 2021',
date: '2021-08-16'
},
{
id: 3,
title: 'KubeCon North America 2021',
date: '2021-11-23'
}
];

View File

@@ -0,0 +1,3 @@
exports.index = function (req, res) {
res.render('index');
}