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
- Host: GitHub
- URL: https://github.com/chaudinh/practice_mysql
- Owner: ChauDinh
- Created: 2019-05-31T12:53:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T06:18:47.000Z (about 2 years ago)
- Last Synced: 2025-01-19T14:19:10.626Z (5 months ago)
- Language: JavaScript
- Homepage: https://mysql-node-app-demo.herokuapp.com/
- Size: 200 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: readme.md
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.