Skip to content

Instantly share code, notes, and snippets.

@esatya
Last active September 30, 2020 09:39
Show Gist options
  • Save esatya/f873746ef1eb1daed7c280c976b8d392 to your computer and use it in GitHub Desktop.
Save esatya/f873746ef1eb1daed7c280c976b8d392 to your computer and use it in GitHub Desktop.
Sample config file (local.json) for Rahat
{
"app": {
"port": 3800,
"secret": "{32 characters}",
"url": "{url of your site: http://localhost:3800}",
"db": "mongodb://localhost:27017/rahat",
"cors": [
"*"
]
},
"jwt": {
"duration": 3600000,
"duration_long": 604800000
},
"services": {},
"blockchain": {
"httpProvider": "http://localhost:8545",
"webSocketProvider": "ws://localhost:8545",
"networkId": "5777"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment