open-index/open-npm huggingface dataset:
npm package: @jackdouglas/ts-database
Description: Database connection library
Author: Jack Douglas
Latest version: 1.0.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Notify Database Module

Notify reusable database client connections for Notify micro-services

## Usage

Documentation coming soon

## Required Environment Variables

The below variables are required by the module and need no other processing beforehand

This means you can just set the database secrets in the environment on a producution machine and on development you would use dotenv or some other terminal env filler.

```bash
REDIS_HOST="127.0.0.1"
REDIS_DATABASE="0"
REDIS_PORT="6379"

POSTGRES_HOST="127.0.0.1"
POSTGRES_PORT="5432"
POSTGRES_DATABASE="postgres"
POSTGRES_USER="postgres"
POSTGRES_PASS="docker"
```
npm package: @jackdouglas/ts-request
Description: Jack's Request Functions
Author: Jack Douglas
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Notify Internal Request Module

Internal request functions for Notify micro-services

Reusable request library that wraps fetch (but also works in web even though we use node-fetch)

## Usage

This library passes the options object (2nd parameter) straight to fetch, so here is a link to the [options reference for fetch](https://www.npmjs.com/package/node-fetch#options)
npm package: @jackdouglas/ts-security
Description: Jack's Internal Authentication Functions (JWT)
Author: Jack Douglas
Latest version: 1.0.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Notify Internal Authentication Module

Internal Authentication functions for Notify micro-services

Reusable module for any Notify micro-service that includes an express middleware and a generate/verify function

## Usage

Documentation coming soon
npm package: @jackdouglas/ts-types
Description: Jack's Backend Types
Author: Jack Douglas
Latest version: 1.0.10
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Notify Types

All type declarations for backend services.

Most all of the types have all their properties optional since we use it to reference the account in a lot of places where we may not need every value from the account.

There are a few types in here that are not final types and may require a bit more work.

---

## Included types

| Name          | File                 |
| ------------- | -------------------- |
| Account       | types/IAccount.ts    |
| Channel       | types/IChannel.ts    |
| Session       | types/ISession.ts    |
| Device        | types/IDevice.ts     |
| DeviceSession | types/IDevice.ts     |
| Post          | types/IPost.ts       |
| Connection    | types/IConnection.ts |