Skip to content

Demonstration Node.js API application for Ansible for DevOps

Notifications You must be signed in to change notification settings

geerlingguy/demo-nodejs-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstration Node.js API Application

Build Status

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):

  1. npm install
  2. 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.

License

MIT

Buy the Book

Ansible for DevOps Cover

Buy Ansible for DevOps for your e-reader or in paperback format.

About

Demonstration Node.js API application for Ansible for DevOps

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published