- Introduction
- Sample
- Prerequisite
- Installation
- Configuration
- Run
- Enabling eG Distributed Tracing
- License
A ecommerce website using Node.js, Express JS, and Mongoose. This repository was thoughtfully crafted to serve as a convenient sandbox for your hands-on exploration of eG observability within the context of a modest yet authentic project.
- Node.js > 12
- MongoDB 5.0
npm install
To run this application, you have to set the below enviromental values
-
SESSION_SECRET: this is the secret express-session.
-
MONGO_URI: this is the connection string of your MongoDB database.
npm start
To enable distributed tracing for the backend parts of this application it is required to have eG Manager and eG Agent.
Copy the code snippet once the Node.js Component is created and include it as the first statement in server.js file and restart the server.
Follow the steps mentioned in eG Innovations Operatorhub to install the Universal Agent Operator
- MIT License
- Copyright 2020 © Maryam Aljanabi