Skip to content

getsentry/sentry-javascript-examples

Repository files navigation

Example Apps for the Sentry JS SDKs

This repository is a work in progress

The main purpose of this repository is to visualize the differences between the Sentry JS SDK version 7 and version 8. Those example applications can also be used as a reference for using the JS SDKs.

How to test apps and save the payloads

  1. Change the APP variable of utils/event-proxy-server/src/event-proxy-server.ts to the app folder name you want to test.
    • Example: apps/express -> APP = 'express'
  2. Make sure you have a folder named like the app in utils/event-proxy-server/payload-files.
    • Example: apps/express -> utils/event-proxy-server/payload-files/express
  3. Run yarn start:proxy-server.
  4. Run yarn start:[app] like start:express.
  5. Check the "Disable Cache" option in the DevTools Network tab of your browser.
  6. Open the following URLs in your browser.
  7. The json file will be generated.

Test URLs

About

Example Apps for the Sentry JS SDKs

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •