library-uncore-central
TypeScript icon, indicating that this package has built-in type declarations

55.0.0 • Public • Published

uncore-connect-api-central-lib

Clone the repository

git clone https://github.com/uncore-digital/uncore-connect-api-central-lib.git

Setup database

This guide will walk you through the process of creating databases, uncore_central in PostgreSQL.

Prerequisites

  • PostgreSQL installed on your system.
  • Appropriate permissions to create databases.
  • Create database uncore_central in PostgreSQL;

Setup redis

This uncore project uses redis as key value db for keeping revoked tokens (logout). Setup a redis instance. Follow the quick start guide here.

Install project dependencies

cd uncore-connect-api-central-lib
npm install --force

Open the project in your IDE (like Visual Studio Code) to configure the code

  1. Duplicate the .env.local file to create a new file named .env.
  2. Open the .env file for further configuration.
  3. Update the PostgreSQL configuration details(for uncore_central) in the .env file as needed.
Run following command for Database migration
npm run build
npm run migrate

Package Sidebar

Install

npm i library-uncore-central

Weekly Downloads

2

Version

55.0.0

License

none

Unpacked Size

139 kB

Total Files

110

Last publish

Collaborators

  • admin-uncore