Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit cff63be

Browse files
Leaderboard api extracted from the processor
0 parents  commit cff63be

File tree

15 files changed

+2953
-0
lines changed

15 files changed

+2953
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.idea
2+
node_modules/
3+
*.log
4+
.DS_Store
5+
.nyc_output
6+
coverage/
7+
.env

config/default.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/**
2+
* The configuration file.
3+
*/
4+
5+
module.exports = {
6+
LOG_LEVEL: process.env.LOG_LEVEL || 'debug',
7+
PORT: process.env.PORT || 3000,
8+
9+
MONGODB_URL: process.env.MONGODB_URL || 'mongodb://localhost:27017/leaderboardDB'
10+
}

config/production.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* Production configuration file
3+
*/
4+
5+
module.exports = {
6+
LOG_LEVEL: process.env.LOG_LEVEL || 'info'
7+
}

0 commit comments

Comments
 (0)