This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use module export instead of json string so that we can use environme…
…nt variable for credentials info
- Loading branch information
1 parent
390c9c9
commit 3041b4f
Showing
7 changed files
with
80 additions
and
80 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module.exports = { | ||
db: "mongodb://localhost/mean-dev", | ||
app: { | ||
name: "MEAN - A Modern Stack - Development" | ||
}, | ||
facebook: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/facebook/callback" | ||
}, | ||
twitter: { | ||
clientID: "CONSUMER_KEY", | ||
clientSecret: "CONSUMER_SECRET", | ||
callbackURL: "http://localhost:3000/auth/twitter/callback" | ||
}, | ||
github: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/github/callback" | ||
}, | ||
google: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/google/callback" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module.exports = { | ||
db: "mongodb://localhost/mean", | ||
app: { | ||
name: "MEAN - A Modern Stack - Production" | ||
}, | ||
facebook: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/facebook/callback" | ||
}, | ||
twitter: { | ||
clientID: "CONSUMER_KEY", | ||
clientSecret: "CONSUMER_SECRET", | ||
callbackURL: "http://localhost:3000/auth/twitter/callback" | ||
}, | ||
github: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/github/callback" | ||
}, | ||
google: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/google/callback" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module.exports = { | ||
db: "mongodb://localhost/mean-test", | ||
port: 3001, | ||
app: { | ||
name: "MEAN - A Modern Stack - Test" | ||
}, | ||
facebook: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/facebook/callback" | ||
}, | ||
twitter: { | ||
clientID: "CONSUMER_KEY", | ||
clientSecret: "CONSUMER_SECRET", | ||
callbackURL: "http://localhost:3000/auth/twitter/callback" | ||
}, | ||
github: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/github/callback" | ||
}, | ||
google: { | ||
clientID: "APP_ID", | ||
clientSecret: "APP_SECRET", | ||
callbackURL: "http://localhost:3000/auth/google/callback" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.