Adding books microservice for GE 8.6

This commit is contained in:
Ravi Srinivasan
2019-07-02 17:33:29 +05:30
parent 1deac4dc9b
commit f3b01722a2
17 changed files with 4273 additions and 0 deletions

3
books/views/error.hbs Normal file
View File

@@ -0,0 +1,3 @@
<h1>{{message}}</h1>
<h2>{{error.status}}</h2>
<pre>{{error.stack}}</pre>

5
books/views/index.hbs Normal file
View File

@@ -0,0 +1,5 @@
<h1>{{title}}</h1>
<p>Welcome to {{title}}</p>
<p>The List of books is <a href="/books">here</a>.</p>
<p>The List of authors is <a href="/authors">here</a>.</p>

10
books/views/layout.hbs Normal file
View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>{{title}}</title>
<link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
{{{body}}}
</body>
</html>