Sentry Svelte App

A Svelte application with Sentry integration for error tracking and performance monitoring.

Features

  • Error tracking with Sentry
  • Session replay
  • Stack trace capture
  • Performance monitoring
  • User authentication (Login/Signup)

Setup

  1. Clone the repository

    git clone https://github.com/Balavinayagapragathishsathish/sentry-svelte-app.git
    cd sentry-svelte-app
    
  2. Install dependencies

    npm install
    
  3. Create a .env file in the root directory with your Sentry configuration:

    VITE_SENTRY_DSN=your-sentry-dsn
    SENTRY_AUTH_TOKEN=your-sentry-auth-token
    
  4. Start the development server

    npm run dev
    

Sentry Integration

This project uses Sentry for:

  • Error tracking
  • Performance monitoring
  • Session replay
  • Stack trace capture

Development

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build

License

MIT

Top categories

Loading Svelte Themes