Skip to content

Commit 61d1384

Browse files
committed
Config + gitignore
1 parent cad330f commit 61d1384

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,4 @@ dist
117117
.yarn/build-state.yml
118118
.pnp.*
119119

120-
.idea/
121-
122-
config.js
120+
.idea/

config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
exports.APP_NAME = 'backend';
2+
exports.MONGODB_URI = 'mongodb://127.0.0.1:27017/?readPreference=primary&appname=MongoDB%20Compass&ssl=false/backend';
3+
exports.JWT_SECRET = 'WhatIsMySecret???';
4+
5+
exports.PASSWORD_HASH_SAIL = 12;
6+
exports.PASSWORD_MIN_LENGTH = 8;
7+
exports.TOKEN_EXPIRES_IN = '30d';
8+
9+
exports.EMAIL = '[email protected]';
10+
exports.EMAIL_PASSWORD = 'kamalkrisna';

0 commit comments

Comments
 (0)