npm install morgan
npm i eslint eslint-config-airbnb-base eslint-plugin-import -g
a. Although I don't prefer Airbnb style of eslint, since it's industry standard, I'll need to get comfortable with it.const morgan = require('morgan')
app.use(morgan('dev'));
app.use(express.json());
Morgan can show us how long it's taking us to retrieve the data from db
resource link to eslint-airbnb: https://medium.com/medvine/install-eslint-global-with-airbnb-style-guide-and-use-it-in-vscode-d752dfa40b21
Top comments (0)