This project can be used to demo instrumentation of Node.js projects with Dynatrace.
It consists of
- Express frontend
- Express backend communicating via json
- MongoDB / Mongoose persistence
- Make sure MongoDB is installed and running
- Edit config.js if you want to change the ports and/or the database connection string.
- Run
npm install
in weather-frontend and weather-service. - Run
npm run service
andnpm run frontend
from project root in two separate shells. - Access http://localhost:[port]/forecast?loc=[location]&days=6 in your browser