forked from sidpalas/storybooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brad Traversy
authored and
Brad Traversy
committed
Jun 19, 2020
0 parents
commit 996a7c5
Showing
5 changed files
with
1,993 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
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,14 @@ | ||
const express = require('express') | ||
const dotenv = require('dotenv') | ||
|
||
// Load config | ||
dotenv.config({ path: './config/config.env' }) | ||
|
||
const app = express() | ||
|
||
const PORT = process.env.PORT || 3000 | ||
|
||
app.listen( | ||
PORT, | ||
console.log(`Server running in ${process.env.NODE_ENV} mode on port ${PORT}`) | ||
) |
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,4 @@ | ||
PORT = 3000 | ||
MONGO_URI = mongodb+srv:https://bradt1234:[email protected]/storybooks?retryWrites=true&w=majority | ||
GOOGLE_CLIENT_ID = 167153388710-svqnu4246eq8igck6qbg1koonle9otdr.apps.googleusercontent.com | ||
GOOGLE_CLIENT_SECRET = DPnYlS4g52FyWJJggdGIh8RT |
Oops, something went wrong.