-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.json
More file actions
68 lines (68 loc) · 2.67 KB
/
config.json
File metadata and controls
68 lines (68 loc) · 2.67 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"mongoDBUrl": "mongodb://127.0.0.1:27017/hands",
"cookieToken": "token",
"cookieSession": "session",
"SECRETS": {
"serverSecret": "serverTestKey",
"sessionSecret": "projecthands session secret"
},
"AUTH": {
"google_client_id": "990301468716-ubc9ojva16mhq03k1sb88k2djruph8is.apps.googleusercontent.com",
"google_client_secret": "SPUQWJcDkLyQ5FHKu_cCLCUg",
"google_callback": "http://localhost:8080/api/auth/google/callback",
"facebook_app_id": "1078269265566476",
"facebook_app_secret": "5deb9c085f1669a0cd8d3150027519d3",
"facebook_callback": "http://localhost:8080/api/auth/facebook/callback"
},
"COLLECTIONS": {
"USERS": "users",
"RENOVATIONS": "renovations",
"TEAMS": "teams",
"CHATS": "chats",
"SIGNUPS": "signup_users",
"ACTIONS": "actions",
"PHOTOS": "photos",
"PROFILE_PIC": "profile_pic",
"HOME_PHOTOS": "home_photos",
"RENOVATION_PHOTOS": "renovation_photos",
"ADS": "ads",
"ADMIN": "admin",
"BRUTE": "bruteforce"
},
"ROLES": {
"ADMIN": "admin",
"MANAGER": "manager",
"TEAM_LEAD": "teamLead",
"VOLUNTEER": "volunteer",
"GUEST": "guest"
},
"ACL": {
"VIEW_DASHBOARD": "acl_view_dashboard",
"VIEW_EDIT_HOMEPAGE": "acl_view_edit_homepage",
"CHANGE_STATUS": "acl_change_status",
"DATA_IMPORT_EXPORT": "acl_data_import_export",
"RENOVATION_GET_INFO": "acl_renovation_get_info",
"RENOVATION_GET_ALL": "acl_renovation_get_all",
"RENOVATION_CREATE": "acl_renovation_create",
"RENOVATION_EDIT": "acl_renovation_edit",
"RENOVATION_RSVP": "acl_renovation_rsvp",
"USER_BASIC_INFO": "acl_user_basic",
"USER_ACTIONS": "acl_user_actions",
"TEAM_ACTIONS": "acl_team_actions",
"STATISTICS_ACTIONS": "acl_statistics_actions",
"PHOTOS_HOME": "acl_photos_homepage",
"PHOTOS_RENOVATION_EDIT": "acl_photos_renovation_edit",
"PHOTOS_RENOVATION_GET": "acl_photos_renovation_get",
"PHOTOS_PROFILE": "acl_photos_profile",
"HOME_ACTIONS": "acl_homepage_actions"
},
"MESSAGES": {
"DB_FETCH_ERROR": "Error has accord , please try again",
"PASSWORD_NOT_MATCH_ERROR": "The password dose not match , please try again",
"PASSWORD_UPDATING_ERROR": "Error has accord while updating the password",
"PASSWORD_UPDATE_SUCCESS": "The password has been changed",
"USER_DATA_NOT_EXIST": "Wrong Email or Phone number",
"EMAIL_UPDATE_SUCCESS": "Email successfully updated",
"USER_EMAIL_NOT_EXIST": "Wrong Email"
}
}