library-uncore-central
v55.0.0
Published
library-uncore-central
Downloads
165
Maintainers
Readme
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
- Duplicate the
.env.local
file to create a new file named.env
. - Open the
.env
file for further configuration. - 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