library-uncore-central
v55.0.0
Published
library-uncore-central
Downloads
127
Maintainers
Readme
uncore-connect-api-central-lib
Clone the repository
git clone https://github.com/uncore-digital/uncore-connect-api-central-lib.gitSetup 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_centralin 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 --forceOpen the project in your IDE (like Visual Studio Code) to configure the code
- Duplicate the
.env.localfile to create a new file named.env. - Open the
.envfile for further configuration. - Update the PostgreSQL configuration details(for
uncore_central) in the.envfile as needed.
Run following command for Database migration
npm run buildnpm run migrate