A continuous integration demo app using Node.js and Express 4.
This application supports the Getting Started on Heroku with Node.js article - check it out.
Make sure you have Node.js and the Heroku CLI installed.
$ git clone https://github.com/thawkin3/heroku-ci-demo # or clone your own fork
$ cd heroku-ci-demo
$ npm install
$ npm start
Your app should now be running on localhost:5000.
npm test
: runs the JavaScript unit tests via Jest and DOM Testing Librarynpm run cypress:test
: runs the integration tests via Cypress
$ heroku create
$ git push heroku master
$ heroku open
or
For more information about using Node.js on Heroku, see these Dev Center articles:
- Getting Started on Heroku with Node.js
- Heroku Node.js Support
- Node.js on Heroku
- Best Practices for Node.js Development
- Using WebSockets on Heroku with Node.js
For more information about the DOM Testing Library and JSDOM, see these articles: