Skip to content

Latest commit

 

History

History

simple-express-app

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Express example

This example application uses express and has 2 endpoints to demonstrate telemetry produced by Node.js agent with express and AWS SNS.

Setup

  1. Run npm install
  2. cp env.sample .env fill out NEW_RELIC_LICENSE_KEY.
  3. npm start

Test

Once the application is started you can make requests to the 2 endpoints to see the telemetry it generates.

curl http://localhost:3000/named-route
curl http://localhost:3000/sns