An open API service indexing awesome lists of open source software.

https://github.com/chaudinh/practice_mysql

Connect nodejs app (CRUD) to mysql database
https://github.com/chaudinh/practice_mysql

Last synced: 4 months ago
JSON representation

Connect nodejs app (CRUD) to mysql database

Awesome Lists containing this project

README

        

# Connect Node.JS app to MySQL database

## What we will cover?

### 1. Deploy to Heroku


Here are things need to be done before we deploy our app to Heroku

- Use PORT variable (stored in .env file)

- Check the package.json file again

- Do NOT save uploaded files on Heroku

- Replace code using lowdb (local database) to mysql or mongodb

- Heroku only contains source code.