inital commit
This commit is contained in:
23
config/config.json
Normal file
23
config/config.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"development": {
|
||||
"username": "miriam_user",
|
||||
"password": "qTCTTWwpEwy3vPDU",
|
||||
"database": "miriamgemeinde",
|
||||
"host": "tsschulz.de",
|
||||
"dialect": "mysql"
|
||||
},
|
||||
"test": {
|
||||
"username": "miriam_user",
|
||||
"password": "qTCTTWwpEwy3vPDU",
|
||||
"database": "miriamgemeinde",
|
||||
"host": "tsschulz.de",
|
||||
"dialect": "mysql"
|
||||
},
|
||||
"production": {
|
||||
"username": "miriam_user",
|
||||
"password": "qTCTTWwpEwy3vPDU",
|
||||
"database": "miriamgemeinde",
|
||||
"host": "tsschulz.de",
|
||||
"dialect": "mysql"
|
||||
}
|
||||
}
|
||||
8
config/database.js
Normal file
8
config/database.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const { Sequelize } = require('sequelize');
|
||||
|
||||
const sequelize = new Sequelize('miriamgemeinde', 'miriam_user', 'qTCTTWwpEwy3vPDU', {
|
||||
host: 'tsschulz.de',
|
||||
dialect: 'mysql'
|
||||
});
|
||||
|
||||
module.exports = sequelize;
|
||||
79
config/menuData.js
Normal file
79
config/menuData.js
Normal file
@@ -0,0 +1,79 @@
|
||||
export const menuData = [
|
||||
{ name: 'Aktuelles', link: '/', component: 'HomeContent', showInMenu: true, image: 'homepage1.png' },
|
||||
{
|
||||
name: 'Gottesdienste',
|
||||
link: '/worship-services',
|
||||
component: 'WorshipServicesContent',
|
||||
showInMenu: true,
|
||||
submenu: [
|
||||
{ name: 'Bonames', link: '/worship-services/bonames', component: 'worship/BonamesWorshipContent', showInMenu: true, image: 'homepage3.png' },
|
||||
{ name: 'Kalbach', link: '/worship-services/kalbach', component: 'worship/KalbachWorshipContent', showInMenu: true },
|
||||
{ name: 'Am Bügel', link: '/worship-services/am-buegel', component: 'worship/AmBuegelWorshipContent', showInMenu: true }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Kindertagesstätten',
|
||||
link: '/daycare-centers',
|
||||
component: 'DaycareCentersContent',
|
||||
showInMenu: true,
|
||||
submenu: [
|
||||
{ name: 'Kita Sternenzelt', link: '/daycare-centers/sternenzelt', component: 'SternenzeltContent', showInMenu: true },
|
||||
{ name: 'Kita Kramambuli', link: '/daycare-centers/kramambuli', component: 'KramambuliContent', showInMenu: true }
|
||||
]
|
||||
},
|
||||
{ name: 'Miriams Wunderkiste', link: '/miriams-wonderbox', component: 'MiriamsWonderboxContent', showInMenu: true },
|
||||
{
|
||||
name: 'Treffpunkt',
|
||||
link: '/meeting-point',
|
||||
component: 'MeetingPointContent',
|
||||
showInMenu: true,
|
||||
submenu: [
|
||||
{ name: 'Kinder', link: '/meeting-point/children', component: 'ChildrenContent', showInMenu: true, image: 'homepage2.png' },
|
||||
{ name: 'KonfirmandInnen', link: '/meeting-point/confirmands', component: 'ConfirmandsContent', showInMenu: true },
|
||||
{ name: 'Jugend', link: '/meeting-point/youth', component: 'YouthContent', showInMenu: true },
|
||||
{ name: 'SeniorInnen', link: '/meeting-point/seniors', component: 'SeniorsContent', showInMenu: true },
|
||||
{ name: 'Miriamtreff', link: '/meeting-point/miriam-meeting', component: 'MiriamMeetingContent', showInMenu: true },
|
||||
{ name: 'Nachbarschaftsraum', link: '/meeting-point/neighborhood-room', component: 'NeighborhoodRoomContent', showInMenu: true },
|
||||
{ name: 'Angebote für Männer und Frauen', link: '/meeting-point/offers', component: 'OffersContent', showInMenu: true }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Musik',
|
||||
link: '/music',
|
||||
component: 'MusicContent',
|
||||
showInMenu: true,
|
||||
submenu: [
|
||||
{ name: 'Miriamkantorei', link: '/music/miriamkantorei', component: 'MiriamChoirContent', showInMenu: true },
|
||||
{ name: 'Flötenkinder', link: '/music/flute-children', component: 'FluteChildrenContent', showInMenu: true },
|
||||
{ name: 'Platzhalter', link: '/music/placeholder', component: 'PlaceholderContent', showInMenu: true }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Unsere Kirchen',
|
||||
link: '/our-churches',
|
||||
component: 'OurChurchesContent',
|
||||
showInMenu: true,
|
||||
submenu: [
|
||||
{ name: 'Bonames', link: '/our-churches/bonames', component: 'BonamesChurchContent', showInMenu: true },
|
||||
{ name: 'Kalbach', link: '/our-churches/kalbach', component: 'KalbachChurchContent', showInMenu: true },
|
||||
{ name: 'Am Bügel', link: '/our-churches/am-buegel', component: 'AmBuegelChurchContent', showInMenu: true }
|
||||
]
|
||||
},
|
||||
{ name: 'Ansprechpartner und Adressen', link: '/contacts', component: 'ContactsContent', showInMenu: true },
|
||||
{
|
||||
name: 'Admin',
|
||||
link: '/admin',
|
||||
requiresAuth: true,
|
||||
showInMenu: true,
|
||||
submenu: [
|
||||
{ name: 'Seiten bearbeiten', link: '/admin/edit-pages', component: 'admin/EditPages', requiresAuth: true, showInMenu: true },
|
||||
{ name: 'Events eingeben', link: '/admin/enter-events', component: 'admin/EnterEvents', requiresAuth: true, showInMenu: true },
|
||||
{ name: 'Gottesdienste', link: '/admin/worship-services', component: 'admin/AdminWorshipServices', requiresAuth: true, showInMenu: true }
|
||||
]
|
||||
},
|
||||
{ name: 'Login', link: '/login', component: 'authentication/LoginComponent', showInMenu: false },
|
||||
{ name: 'Passwort vergessen', link: '/forgot-password', component: 'authentication/ForgotPassword', showInMenu: false },
|
||||
{ name: 'Registrieren', link: '/register', component: 'authentication/RegisterComponent', showInMenu: false },
|
||||
{ name: 'Terms and Conditions', link: '/terms', component: 'disclaimers/TermsComponent', showInMenu: false },
|
||||
{ name: 'Privacy Policy', link: '/privacy-policy', component: 'disclaimers/PrivacyPolicyComponent', showInMenu: false }
|
||||
];
|
||||
Reference in New Issue
Block a user