tengri 👁🗨
📝 what is tengri
tengri is a request logger for your node js web API based application that comes with an interface to visualize requests made to your server.
🛠 how to use
- to use tengri run the command in the project root
yarn add tengriwatch
or npm install tengriwatch
- create a connection file for tengri to access your database, e.g.
connect.js
(if you are using knex.js skip this step): - put the code below in the js file:
module.exports = {
development: {
client: 'mysql',
connection: {
host:'localhost',
database: '',
user: '',
password: ''
},
},
staging: {
client: 'mysql',
connection: {
host:'localhost',
database: '',
user: '',
password: ''
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: 'knex_migrations'
}
},
production: {
client: 'mysql',
connection: {
host:'localhost',
database: '',
user: '',
password: ''
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: 'knex_migrations'
}
}
};
- in the app/index/server
- navigate to your host or domain /tengri/tengriserver
built by