-
-
Save kasramp/c69c31c9d960fb4460d051f1c6981b42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let config = {}; | |
config.database = {}; | |
config.web = {}; | |
config.database.host = Deno.env.get("DATABASE_HOST") || "localhost"; | |
config.database.username = Deno.env.get("DATABASE_USERNAME") || "root"; | |
config.database.password = Deno.env.get("DATABASE_PASSWORD") || "secret"; | |
config.database.name = Deno.env.get("DATABASE_NAME") || "user_db"; | |
config.web.port = Deno.env.get("WEB_PORT") || 8080; | |
export default config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment