forked from bradtraversy/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
1 parent
a8e2e89
commit 57f25bb
Showing
2 changed files
with
23 additions
and
3 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 |
---|---|---|
@@ -1,4 +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 | ||
MONGO_URI = xxxxx | ||
GOOGLE_CLIENT_ID = xxxxx | ||
GOOGLE_CLIENT_SECRET = xxxxx |
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,20 @@ | ||
# StoryBooks | ||
|
||
> Create public and private stories from your life | ||
This app uses Node.js/Express/MongoDB with Google OAuth for authentication | ||
|
||
## Usage | ||
|
||
Add your mongoDB URI and Google OAuth credentials to the config.env file | ||
|
||
``` | ||
# Install dependencies | ||
npm install | ||
# Run in develpment | ||
npm run dev | ||
# Run in production | ||
npm start | ||
``` |