This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
forked from spaghetti-open-data/tweetyourmep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js.development
50 lines (50 loc) · 2.43 KB
/
config.js.development
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// general configuration
var mongoose = require('mongoose');
var config = {
db_host: 'localhost',
db_name: 'twmep_dev',
db_collection: 'twmep_dev_collection',
db_debug: 1,
api_url: 'http://www.epnewshub.eu/feederfrontendapi/contributors/1?limit=8000&offset=0',
app_title: 'TweetYourMEP',
app_description: 'In pre-digital democracies, citizens wishing to draw the attention of their representatives to something would write them letters; more recently, we upgraded to email. Online social networks take this exercise to a whole new level, because citizens and representatives use them to interact in public. If you tweet your MEP everyone can see you do it; and everyone can see whether that MEP engages with you, and how.',
app_author: '',
app_port: 3000,
app_secret: 'some_random_strings',
app_debug: false,
base_path: '/',
// Define Mep model
schema: new mongoose.Schema({
mep_country : String,
mep_emailAddress : String,
mep_epFotoUrl : String,
mep_epPageUrl : String,
mep_facebookId : String,
mep_facebookPageUrl : String,
mep_faction : String,
mep_firstName : String,
mep_lastName : String,
mep_fullName : String,
mep_localParty : String,
mep_personalWebsite : String,
mep_twitterUrl : String,
mep_userId : String,
mep_additionalProperties : String,
mep_itemCount : String,
mep_twitterUserName: String,
}, {
autoIndex : true
}),
countries: {"AT":"Austria","BE":"Belgium","BG":"Bulgaria","CY":"Cyprus","CZ":"Czech Republic","DK":"Denmark","EE":"Estonia","FI":"Finland","FR":"France","DE":"Germany","GR":"Greece","HU":"Hungary","IE":"Ireland","IT":"Italy","LV":"Latvia","LT":"Lithuania","LU":"Luxembourg","MT":"Malta","NL":"Netherlands","PL":"Poland","PT":"Portugal","RO":"Romania","SK":"Slovakia","SI":"Slovenia","ES":"Spain","SE":"Sweden","GB":"United Kingdom"},
factionNames: {
LD: "Group of the Alliance of Liberals and Democrats for Europe",
CR: "European Conservatives and Reformists Group",
FD: "Europe of Freedom and Democracy Group",
PP: "Group of the European People's Party (Christian Democrats)",
UL: "Confederal Group of the European United Left - Nordic Green Left",
GF: "Group of the Greens/European Free Alliance",
NA: "Non-attached Members",
SD: "Group of the Progressive Alliance of Socialists and Democrats in the European Parliament"
},
}
module.exports = config;