Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/demo-nodejs-api
Demonstration Node.js API application for Ansible for DevOps
https://github.com/geerlingguy/demo-nodejs-api
ansible api demo devops example javascript node nodejs
Last synced: 17 days ago
JSON representation
Demonstration Node.js API application for Ansible for DevOps
- Host: GitHub
- URL: https://github.com/geerlingguy/demo-nodejs-api
- Owner: geerlingguy
- Created: 2015-04-04T01:57:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T16:26:45.000Z (almost 5 years ago)
- Last Synced: 2024-10-10T04:06:51.389Z (about 1 month ago)
- Topics: ansible, api, demo, devops, example, javascript, node, nodejs
- Language: JavaScript
- Size: 26.4 KB
- Stars: 3
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Demonstration Node.js API Application
[![Build Status](https://travis-ci.org/geerlingguy/demo-nodejs-api.svg?branch=master)](https://travis-ci.org/geerlingguy/demo-nodejs-api)
This repository contains an extremely simple Node.js API app.
The app is meant for demonstration purposes in [Ansible for DevOps](http://ansiblefordevops.com/), a book on [Ansible](http://www.ansible.com/) by [Jeff Geerling](http://jeffgeerling.com/). See, specifically, the [rolling deployments example](https://github.com/geerlingguy/ansible-for-devops/tree/master/rolling-deployments) 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](https://s3.amazonaws.com/titlepages.leanpub.com/ansible-for-devops/medium)](http://www.ansiblefordevops.com/)
Buy [Ansible for DevOps](http://www.ansiblefordevops.com/) for your e-reader or in paperback format.