NestJS
Installation
Learn how to install and configure Traque on NestJS
Installation
Install Traque using your preferred package manager:
Setup
To integrate Traque with your NestJS application, you'll need to initialize it in your main application file (main.ts
). Here's how to set it up:
Configuration
The Traque constructor accepts the following configuration options:
Environment Variables
Configure your environment variables in your .env
file:
Exception Handling
Traque automatically sets up an exception filter for your NestJS application when you call setupNestExceptionFilter()
. This allows Traque to track and monitor any exceptions that occur in your application.
Next Steps
After installing and configuring Traque, you can:
- Monitor application exceptions and errors
- View error analytics in your Traque Dashboard
- Configure custom error tracking and monitoring
For more detailed information about advanced features and configurations, please refer to our other documentation sections.