Skip to content

Instantly share code, notes, and snippets.

@vinaymavi
Created October 15, 2018 11:08
Show Gist options
  • Save vinaymavi/504a860d9933cc190b18692a117ac9ed to your computer and use it in GitHub Desktop.
Save vinaymavi/504a860d9933cc190b18692a117ac9ed to your computer and use it in GitHub Desktop.
Node.js config management example base.config.js file
const base_config = {
message: "Server started with base configuration",
base_path: "https://baseapi.com/",
end_points: {
user: "/user",
auth: "/auth",
token_refresh: "/token-refresh"
}
};
module.exports = base_config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment