A simple Express.js application with Docker, deployed to Heroku.
-
Install NPM dependencies with
npm install
. -
Specify
$NODE_ENV
as "development" or "production". -
Run
npm run build
to start Webpack with Hot Module Replacement enabled in development environment. -
Open a new terminal and run
npm run start:env
to run App with Dotenv.