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
.envfile with all the variables as listed in./.env.exampleand fill in their values respectively. -
Run the start script
npm run start