Environment Setup
Follow these steps to set up your environment for the Link Router service.
Prerequisites
- Node.js (v18+)
- PostgreSQL database
- Docker (optional for containerized setup)
Setup Steps
- Clone the repository.# Environment Setup
Prerequisites
- Node.js >= 18.x
- PostgreSQL database
- Docker (optional for containerized setup)
Installation
git clone https://github.com/LedgerLink-ai/link_router.git
cd link_router
npm install
Environment Setup
Copy .env.example to .env and configure database and service settings.
Running the Service
npm run start:dev
Or with Docker:
docker-compose up
Running Tests
npm test
npm run test:e2e
API Documentation
See api-reference/index.md for endpoint details.
- Install dependencies:
npm install