This repository contains an extremely simple Node.js API app.
The app is meant for demonstration purposes in Ansible for DevOps, a book on Ansible by Jeff Geerling. See, specifically, the rolling deployments example in the official Ansible for DevOps repository.
If you'd like to run the example locally, make sure you have Node.js and npm
installed, then do the following (from within this repository's directory):
npm install
node app.js
After the app starts listening, you should be able to send a request to http://localhost:8080/hello/dave
, and get back a response like hello dave
.
MIT
Buy Ansible for DevOps for your e-reader or in paperback format.