Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 587 Bytes

File metadata and controls

18 lines (12 loc) · 587 Bytes

Nodejs with MySQL

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.

Setup

  1. Create a mysql database of your choice:
CREATE DATABASE <<database_name_here>>;
  1. Create a .env file with all the variables as listed in ./.env.example and fill in their values respectively.

  2. Run the start script

npm run start