Blog Posts

Display Pdf in browser using express js

## Question I'm trying to serve a PDF via Express in a way it is displayed in browser: ```text `app.post('/asset', function(request, response){ var tempFile="/home/applmgr/Desktop/123456.pdf";

Read More

PM2 Error: Cannot find module when using ecosystem file

## Question I'm having an issue with pm2. If I start my app with ```text `cd /my/path pm2 start server.js` ``` everything works correctly, but if I use an `ecosystem.config.js` file, then it give

Read More

How to return just created row with its association with sequelize

## Question with the `create()` method I get the just created row back is there a way to get its associations also back. like the `include` option we get with `findAll` for example I have this out

Read More

sequelize migrations not running

## Question I'm having a weird issue with Sequelize I haven't encountered before, when I try to run my migrations nothing happens. I get the following output: ```text Loaded configuration file "con

Read More

ChartJS - Override Attributes (AngularJS)

## Question I have simple chartjs in angularjs, and I would like override a few options like borderWidth, backgroundColor and so on ... ![](https://i.sstatic.net/EnjcV.png) I've tried ... # HTML

Read More