Quickstart Guide
Follow this guide to get up and running with the workshop environment in the fastest way possible.
Prerequisites
Before you begin, ensure you have the following installed:
Additionally, you’ll need a Sentry account to follow along with the tracing and monitoring portions of this workshop:
- Sign up for a free Sentry.io if you don’t already have an account
Setup Instructions
-
Clone the repository
Terminal window git clone https://github.com/getsentry/sentry-academy-workshop -
Navigate to the project directory
Terminal window cd sentry-academy-workshop -
Install dependencies with PNPM
Terminal window pnpm iNote: Node.js ≥16.13 includes Corepack and can enable pnpm for you in this step.
-
Set up environment variables
Terminal window touch apps/server/.envecho "PORT=3001" >> apps/server/.env -
Database Setup
We’ll be using NeonDB for this workshop, so we need to set up the database. Navigate to the
apps/server
directory and run the following commands:Terminal window pnpx neondb -
Seed the Database
Terminal window pnpm db:generatepnpm db:pushpnpm db:import -
Start the Project
Terminal window pnpm dev -
Access the application project
The project will now be running at http://localhost:5173 with the backend API running on http://localhost:3001.
What’s Available After Setup
Once you’ve completed the setup, you’ll have access to:
- A Vite-powered React frontend running at http://localhost:5173
- A Node.js backend API running at http://localhost:3001
- Full-stack JavaScript application ready for Sentry instrumentation
This setup will allow you to progress through the workshop and start implementing Sentry. This workshop will take you through setting up Error Monitoring, Logging, Tracing, and building visualizations in dashboards!