Backend service for Pluggy integration using NestJS with PostgreSQL and webhook support.
- Node.js 18+
- Docker and Docker Compose (for PostgreSQL)
- ngrok (for receiving webhooks in development)
- Pluggy API credentials from dashboard.pluggy.ai
- Start the PostgreSQL database:
npm run db:setup- Copy
.env.exampleto.envand fill in your credentials:
CLIENT_ID/CLIENT_SECRET- Your Pluggy API credentialsAUTH_CALLBACK- Your ngrok forwarding URL (see step 3)DB_*- Database connection settings (defaults work with docker-compose)
- Start ngrok to receive webhooks:
ngrok http 3000Copy the forwarding URL and set it as AUTH_CALLBACK in .env.
- Install and run:
npm install
npm run start:dev| Command | Description |
|---|---|
npm run start:dev |
Start in watch mode |
npm run start:debug |
Start in debug mode |
npm run build |
Compile TypeScript |
npm run test |
Run unit tests |
npm run test:e2e |
Run end-to-end tests |
npm run test:cov |
Run tests with coverage |
npm run lint |
Lint with ESLint |
npm run format |
Format with Prettier |
npm run db:setup |
Start PostgreSQL via Docker |