Deploying/Hosting Node.js app on Heroku with MySQL database

Heroku is one of the most popular cloud platform as a service (PaaS). We can use it to deploy and manage our application in simple & convenient way. This tutorial guides you through the steps of deploying Node.js app on Heroku with ClearDB and MySQL database. The deployment will be done using Git and Heroku CLI.

Related Posts:
Build Node.js Rest APIs with Express & MySQL
Node.js Rest APIs example with Express, Sequelize & MySQL
Dockerize Node.js Express and MySQL example – Docker Compose

Read More

Export MySQL data to CSV file using Node.js

In previous tutorial, we’ve known how to use Node.js to import CSV data into MySQL Database table. Today you’re gonna look at way to do the opposite: Export MySQL data to CSV file. The process has 2 steps:

  • Read MySQL data using mysql module
  • Export MySQL data to CSV file using one of three modules: fast-csv, csv-writer or fs

Rest API: Node.js Download CSV file from MySQL Database example

Read More

Deploy Spring Boot App on AWS – Elastic Beanstalk

AWS (Amazon Web Services) is one of the most widely used cloud computing platforms which provides a whole range of managed cloud services. In this tutorial, I will show you step by step to deploy Spring Boot Application with MySQL on AWS EC2 Instance using Elastic Beanstalk (for free).

Related Posts:
Spring Boot, Spring Data JPA: Rest API example
Spring Boot JdbcTemplate with MySQL: Rest API example
Spring Boot Token based Authentication with Spring Security & JWT
– Documentation: Spring Boot + Swagger 3 example (with OpenAPI 3)
– Dockerize with Docker Compose: Spring Boot and MySQL example

Read More