-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from MindscapeHQ/develop
chore: Release 0.15.0-0 🚀
- Loading branch information
Showing
28 changed files
with
533 additions
and
204 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
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,32 @@ | ||
# Raygun + ExpressJS sample | ||
|
||
This is a sample Express application to show how to use Raygun4Node and ExpressJS together. | ||
|
||
This example uses the local `raygun4node` package in the project root directory by simply pointing to the root directory as a dependency in package.json: | ||
|
||
``` | ||
"raygun": "file:../..", | ||
``` | ||
|
||
## Run the sample | ||
|
||
First, install the `raygun4node` package. | ||
|
||
To do so, navigate to the project root directory, then: | ||
|
||
npm install | ||
|
||
Once the package is installed, set your API key in the sample's `config/default.json` and run: | ||
|
||
npm install && npm start | ||
|
||
in the subdirectory where you found this README.md file. | ||
|
||
## Interesting files to look | ||
|
||
- `app.js` | ||
- Setup of Raygun (lines 9-12) | ||
- Sets the user (lines 27-29) | ||
- Attaches Raygun to Express (line 60) | ||
- `routes/index.js` | ||
- Tries to use a fake object, which bounces up to the Express handler (lines 11-15) |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
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
Oops, something went wrong.