This is a repository in the microservice demonstration system for the Tao of Microservices book (chapter 9). This code is live at nodezoo.com.
This system shows you how to construct a full microservice architecture. It is MIT licensed so that you can cut-and-paste to build your own system with minimal effort. The system consists of multiple repositories, and runs ten or so microservices in production (Kubernetes), staging (Docker), and development (fuge) modes.
The nodezoo system is a little search engine for Node.js modules, using the npm module registry (among others) as an external data source.
Follow these instructions to get a demonstration nodezoo system up and running.
- Checkout this repository.
$ git clone https://github.com/nodezoo/tao.git
- Checkout all the microservice repositories.
$ ./tao/clone-all.sh`
- Install all the modules.
$ ./tao/npm-install.sh`
-
Install and run a development instance of ElasticSearch.
-
Start up the system by running the local development environment using (fuge).
$ cd system
$ ./node_modules/.bin/fuge shell fuge/fuge.yml
- Index a few modules, by visiting the info page in your browser.
- http://localhost:8000/info/express
- http://localhost:8000/info/hapi
- http://localhost:8000/info/seneca
- Search for modules.