<% if ( down == 0) { %> <% } %> <% if ( down == 1) { %> <% } %>

Service Status

Last updated <%=date %>
<% if ( down == 0) { %>

All systems operational

<% } %> <% if ( down == 1) { %>

Some systems are down

<% } %>

API Services

<% data.forEach(function(status , index ) { %> <% }) %>
API StatusCode Status Refresh
<%=status.Api %>
<%=status.StatusCode %> <% if( status.Status == "Up") { %> <%=status.Status %> <% } %> <% if( status.Status == "Down") { %> <%=status.Status %> <% } %> Refresh

Server Services

<% data1.forEach(function(status , index ) { %> <% }) %>
Server StatusCode Status Refresh
<%=status.Api %>
<%=status.StatusCode %> <% if( status.Status == "Up") { %> <%=status.Status %> <% } %> <% if( status.Status == "Down") { %> <%=status.Status %> <% } %> Refresh

Database Services

<% data2.forEach(function(status , index ) { %> <% }) %>
Database StatusCode Status Refresh
<%=status.Api %>
<%=status.StatusCode %> <% if( status.Status == "Up") { %> <%=status.Status %> <% } %> <% if( status.Status == "Down") { %> <%=status.Status %> <% } %> Refresh