Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.49 KB

File metadata and controls

62 lines (42 loc) · 1.49 KB

PayAnyWhere Backend

Overview

This backend is part of the PayAnyWhere monorepo and provides:

  • RESTful APIs for merchant and client interactions.
  • Integration with smart contracts for crypto transactions.
  • Optional connections to external payment providers such as Mercado Pago.
  • A non-custodial design: users pay directly from their wallets to the merchant’s wallet.
  • A Clean Architecture structure ensuring maintainability, scalability, and separation of concerns.

Tech Stack

  • Runtime: Bun
  • Language: TypeScript
  • Formatter & Linter: Biome
  • Package Manager: Bun
  • Architecture: REST API with modular controllers and services

Getting Started

1. Install Dependencies

bun install

2. Run the Server

bun run dev

Server runs by default on http://localhost:3001

3. Build for Production

bun run build

4. Run Production Server

bun run start

Code Quality

Code formatting and linting are managed with Biome.

Commands

yarn biome
yarn biome:fix