Build and Run Guide
This document provides instructions on how to clone, build, and run the UBI Verification SDK both locally and using Docker.
A. Running Locally without Docker
Clone the Repository
git clone https://github.com/PSMRI/ubi-verification-sdk cd ubi-verification-sdk
Install Dependencies
npm install
Run the Application
npm start
The application will be available at
http://localhost:3000
.You can access the Swagger documentation at http://localhost:3000/documentation.
B. Running using Docker Compose
Start the Application
docker-compose up --build
This will build and start the application along with any dependencies defined in the
docker-compose.yml
file.Run in Detached Mode
docker-compose up -d
This will start the services in the background.
The application will be available at http://localhost:3000
, and you can access the Swagger documentation at http://localhost:3000/documentation.