Skip to content

Commit 7f76abd

Browse files
committed
v1.0.0
1 parent 59d4386 commit 7f76abd

File tree

4 files changed

+35
-13
lines changed

4 files changed

+35
-13
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
sudo: required
2+
dist: trusty
13
language: node_js
24

5+
36
node_js:
47
- '4'
58
- '6'
9+
- '8'
10+
11+

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
# nodezoo-web
1+
# The nodezoo microservice demonstration architecture
2+
3+
This is a repository in the microservice demonstration system for
4+
the [Tao of Microservices](//bit.ly/rmtaomicro) book (chapter 9). This
5+
code is live at [nodezoo.com](//nodezoo.com).
6+
7+
This system shows you how to construct a full microservice
8+
architecture. It is MIT licensed so that you can cut-and-paste to
9+
build your own system with minimal effort. The system consists of
10+
multiple repositories, and runs ten or so microservices in production
11+
([Kubernetes](//kubernetes.io)), staging ([Docker](//docker.com)), and
12+
development ([fuge](//github.com/apparatus/fuge)) modes.
13+
14+
The best place to get started is
15+
the [nodezoo/tao](//github.com/nodezoo/tao) repository, which links to
16+
everything else, and has the _Getting Started_ guide.
17+
18+
## nodezoo-web
19+
20+
_TODO_
21+
22+

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodezoo-web",
3-
"version": "1.0.0-tms-dev",
3+
"version": "1.0.0",
44
"description": "nodezoo-web",
55
"main": "web.js",
66
"keywords": [
@@ -24,21 +24,20 @@
2424
},
2525
"homepage": "https://github.com/nodezoo/nodezoo-web",
2626
"dependencies": {
27-
"chairo": "3.0.0",
2827
"handlebars": "4.0.6",
2928
"hapi": "16.1.0",
3029
"inert": "4.1.0",
31-
"seneca": "3.4.1",
30+
"seneca": "3.4.2",
3231
"seneca-balance-client": "0.6.1",
33-
"seneca-monitor": "../seneca-monitor",
32+
"seneca-monitor": "0.1.0",
3433
"seneca-entity": "2.0.2",
35-
"seneca-mesh": "0.10.0",
34+
"seneca-mesh": "0.11.0",
3635
"seneca-repl": "1.1.2",
3736
"vision": "4.1.1"
3837
},
3938
"devDependencies": {
40-
"code": "4.0.0",
41-
"lab": "13.0.1",
42-
"wreck": "10.0.0"
39+
"code": "4.1.x",
40+
"lab": "14.0.x",
41+
"wreck": "10.0.x"
4342
}
4443
}

web.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
var hapi = require('hapi')
44
var vision = require('vision')
55
var inert = require('inert')
6-
var chairo = require('chairo')
76
var handlebars = require('handlebars')
87

98

@@ -15,7 +14,6 @@ module.exports = function(options) {
1514

1615
server.register( vision )
1716
server.register( inert )
18-
//server.register( {register:chairo, options:{seneca:options.seneca}} )
1917

2018
var seneca = options.seneca
2119

@@ -74,7 +72,6 @@ module.exports = function(options) {
7472
method: 'GET',
7573
path: '/api/query',
7674
handler: function (request, reply) {
77-
//server.
7875
seneca.act(
7976
{
8077
role: 'search',
@@ -94,7 +91,6 @@ module.exports = function(options) {
9491
server.route({
9592
method: 'GET', path: '/api/suggest',
9693
handler: function( request, reply ){
97-
//server.
9894
seneca.act(
9995
'role:suggest,cmd:suggest',{query:request.query.q,default$:[]},
10096
function(err,out){

0 commit comments

Comments
 (0)