# Mercur Backend

Marketplace backend for Mercur.

## Prerequisites

- Node.js v20+
- PostgreSQL
- Git CLI

## Scripts

- `yarn build` - Build the backend
- `yarn seed` - Seed the database
- `yarn start` - Start the backend
- `yarn dev` - Start the backend in development mode
- `yarn db:migrate` - Run migrations and module links
- `yarn test:integration:http` - Run API integration tests
- `yarn test:integration:modules` - Run module integration tests
- `yarn test:unit` - Run unit tests
- `yarn format` - Format the code
- `yarn lint` - Lint the code
- `yarn lint:fix` - Fix lint errors
- `yarn generate:oas` - Generate OpenAPI specification
