Skip to content

Demo project to test functionality of Busgres NPM package.

Notifications You must be signed in to change notification settings

rtasalem/busgres-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Busgres Demo

This is a demo project to test the functionality of the Busgres NPM package I created which saves messages sent and received from an Azure Service Bus queue into a PostgreSQL database.

Documentation

Full details on how this project was set up to utilise the Busgres package is avaiable in the documentation.

Prerequisites

  • Azure Service Bus Namespace connection string
  • Azure Service Bus queue
  • PostgreSQL server

Environment Variables

Variable Description
SB_CONNECTION_STRING Service Bus namespace connection string.
SB_QUEUE Name of Service Bus queue.
PG_USERNAME Username of PostgreSQL database.
PG_DATABASE Name of PostgreSQL database.
PG_HOST Host of PostgreSQL server.
PG_PORT Port of PostgreSQL server.

Getting Started

Once the PostgreSQL database and table has been set up, run the following command to start up the project:

nodemon app

About

Demo project to test functionality of Busgres NPM package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages