Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

getsentry/sentry-javascript-examples

Open more actions menu

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.

Setup

  1. Clone the repository
  2. Copy the .env.example file to .env and set the SENTRY_DSN variable in it

How to test apps and save the payloads

  1. Make sure you have a folder named like the app in payload-files.
    • Example: apps/express -> payload-files/express
  2. Run yarn start:[app], e.g. yarn start:express.
  3. Check the "Disable Cache" option in the DevTools Network tab of your browser.
  4. Open the following URLs in your browser.
  5. The json file will be generated.

Test URLs (for servers like express, fastify)

Test URLs (for meta frameworks like Next.js)

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

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.