This is a demo mysql nodejs API for the tutorial How to create a MySQL application on Heroku on autoidle's blog. The tutorial demonstrates how to deploy a mysql application on Heroku for free.
- Create a mysql database of your choice:
CREATE DATABASE <<database_name_here>>;
-
Create a
.env
file with all the variables as listed in./.env.example
and fill in their values respectively. -
Run the start script
npm run start