Local setup using NPM
Clone the platform repository from GitHub:
Create a .env file and set the required environment variables as per the .env.sample
file.
Install the pnpm package using the following command if it isn’t already installed on your machine:
Install dependencies
Keep your database schema in sync with your Prisma schema as it evolves and Maintain existing data in your database.
Generate Prisma Client to access schema model with the following command:
For initial master table entry create a credebl-master-table.json file at lib/prisma-service/prisma/data and set the required variables as per the credebl-master-table.json
file.run following command.
To start the API gateway
To start all microservices using below command followed by microservice name, example: start user service.
Access the Platform API by navigating to:
Using swagger to access platform API
If you’re running docker locally, access the CREDEBL platform swagger dashboard through the API gateway on port 5000.