A small Express API used by the Sentry getting-started tutorial. It serves four product endpoints consumed by the companion React frontend, plus a /products/debug-sentry route that throws an error you'll wire up to Sentry during the tutorial.
Requires Node 18+.
npm install
npm startThe server runs at http://localhost:3001.
| Path | What it does |
|---|---|
GET / |
Hello message |
GET /products |
Lists the products route |
GET /products/kitten-mittens |
Returns product info |
GET /products/doggles |
Returns product info |
GET /products/clown-shoes |
Returns product info |
GET /products/nonfat-water |
Returns product info |
GET /products/debug-sentry |
Throws a sample error |
GET /img/* |
Static product images |
Follow the tutorial for the full flow.