-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
12 changed files
with
27,538 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,5 @@ | ||
MONGO_URI=mongodb+srv://nasa:nasa@cluster0.h0sil0s.mongodb.net/todoApp?retryWrites=true&w=majority | ||
SECRET_KEY=QovNVS7wzzLIqDkbnwF1u0ZYsmODZeWY | ||
googleClientID=567562781843-kj2874kmpj2gc3ftmqtndqmq312jr9lr.apps.googleusercontent.com | ||
googleClientSecret=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 | ||
REDIS_URL=redis://default:VODDIrh8surEMBxuVJB3CndKrz9jVd8F@redis-12048.c245.us-east-1-3.ec2.cloud.redislabs.com:12048 |
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,3 @@ | ||
node_modules | ||
nohup.out | ||
.DS_Store |
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,13 @@ | ||
# AdvancedNodeStarter | ||
|
||
Starting project for a course on Advanced Node @ Udemy | ||
|
||
### Setup | ||
|
||
- Run `npm install` in the root of the project to install server dependencies | ||
- Change into the client directory and run `npm install --legacy-peer-deps` | ||
- Change back into the root of the project and run `npm run dev` to start the server | ||
- Access the application at `localhost:3000` in your browser | ||
|
||
**Important:** | ||
The credentials for the Mongo Atlas DB in `dev.js` are read only. If you attempt to log in without first adding your own connection string (covered later in the course) you will see an error: `[0] MongoError: user is not allowed to do action [insert] on [advnode.users]` |
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,21 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.