Public | Automated Build

Last pushed: 4 months ago
Short Description
A test NodeJS web-app using Sequelize
Full Description

Node.js App

This is an example node.js http-server using the sequalize ORM.

There's a couple of kubernetes deployment files too.

Aim is to learn how these technologies interact, specifically to demo scaling
and resiliency in a kubernetes cluster, at both app and db layer.

At the moment requests to '/' insert database rows to a user table, then
read them back out. Rows are deleted when the row-count goes above 50 entries.

Useful links

Prerequisites

A database install - configure environemt settings below.

Getting Started

docker pull nabadger/nodejs-app

Database connection details

Database info. needs to be supplied via the environment.

env:

  • name: DB_HOST
  • name: DB_PORT
  • name: DB_NAME
  • name: DB_USER
  • name: DB_PASSWD
    ```
Docker Pull Command
Owner
nabadger
Source Repository

Comments (0)