open-index/open-npm huggingface dataset:
npm package: @sage3/sagebase
Description: SAGEBase is a Node/Express backend service that provides authentication, no-sql collection/document database, pub/sub, and authorization utilizing REDIS.
Latest version: 0.4.3

# SAGEBase

SAGEBase is a Node/Express backend service that provides authentication, no-sql collection/document database, pub/sub, and authorization utilizing REDIS.

- Database (v0.2.0)
- PubSub (v0.3.0)
- Authentication (v0.4.0)
- Authorization (v0.5.0)

v0.6.0 -> v1.0.0 Will be testing, bug fixes, and documentation.

Timeline

- v0.4.0 (June 1st 2022)
- v0.5.0 (August 1st 2022)
- v1.0.0 (September 1st 2022)

## Requirements

- Node.js
- Redis with modules:
  - RedisJSON 2.0 or later
  - RediSearch 2.2 or later

---

## NodeJS

- NPM Packages
  - [redis](https://www.npmjs.com/package/redis)

### Configuring NodeJS

---

## Redis

We recommend using the offical RedisLabs Docker Images. There are multiple images but we recommend the `redis-stack` image due to it already having RedisJSON and RediSearch installed. You still need to configure the image to utilize the modules, explained below.

- [RedisStack Docker Image](https://hub.docker.com/r/redis/redis-stack)

### Confguring Redis

Add to your redis.conf file:

```
loadmodule /opt/redis-stack/lib/redisearch.so
loadmodule /opt/redis-stack/lib/rejson.so
```

---

## Basic Usage Example

TODO

# Developers

NPM Package Location [npm @sage3/sagebase](https://www.npmjs.com/package/@sage3/sagebase)

## To build and publish the SAGEBase library

- Update the SAGEBase Version in the `package.json` file.
  - Located: `/webstack/libs/sagebase/package.json`
  - ` "version": "0.0.10"` (Change the version number to the new version to be published)
- CD to `/webstack` folder
- Run `> nx build sagebase`
- CD to `/webstack/dist/libs/sagebase`
- Run `> npm publish`
npm package: @sage3/sageplugin
Description: Library to enable SAGE3 app developers to develop plugins that can be uploaded into a SAGE3 server. Provides an API to allow the apps developed this way to communicate with the SAGE3 frontend.
Latest version: 0.0.15

# SAGEPlugin

Library to enable SAGE3 app developers to develop plugins that can be uploaded into a SAGE3 server. Provides an API to allow the apps developed this way to communicate with the SAGE3 frontend.

# Usage

## To build and publish the SAGEPlugin library

- Update the SAGEPlugin Version in the `package.json` file.
  - Located: `/webstack/libs/sageplugin/package.json`
  - ` "version": "0.0.10"` (Change the version number to the new version to be published)
- CD to `/webstack` folder
- Run `> nx build sageplugin`
- CD to `/webstack/dist/libs/sageplugin`
- Run `> npm publish`
npm package: @sagebox-be/prisma-inventory
Description: Sagebox Prisma inventory client
Latest version: 0.0.5

# prisma-inventory

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build prisma-inventory` to build the library.

## Running unit tests

Run `nx test prisma-inventory` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @sagebox-be/prisma-product
Description: Sagebox Prisma product client
Latest version: 0.0.10

# prisma-product

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build prisma-product` to build the library.

## Running unit tests

Run `nx test prisma-product` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @sagebox-be/prisma-user
Description: Sagebox Prisma user client
Latest version: 0.0.3

# prisma-user

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build prisma-user` to build the library.

## Running unit tests

Run `nx test prisma-user` to execute the unit tests via [Jest](https://jestjs.io).