DuOrigin v2 - React + NestJS + Prisma + EUDR API Integration

This commit is contained in:
2026-02-09 09:10:15 -03:00
parent cb90bad239
commit 4122dc6f3b
170 changed files with 31333 additions and 200 deletions

33
backend/.env.example Normal file
View File

@@ -0,0 +1,33 @@
DATABASE_URL=postgresql://user:password@localhost:5432/duorigin
JWT_SECRET=your_jwt_secret_here
JWT_EXPIRES_IN=7d
PORT=8100
# ============================================
# EUDR API Configuration
# ============================================
# API URL - Use ACCEPTANCE for testing, PRODUCTION for live
# ACCEPTANCE: https://acceptance.eudr.webcloud.ec.europa.eu/tracesnt
# PRODUCTION: https://webgate.ec.europa.eu/tracesnt
EUDR_API_URL=https://acceptance.eudr.webcloud.ec.europa.eu/tracesnt
# Web Service Client ID (default: eudr-test for ACCEPTANCE)
EUDR_WS_CLIENT_ID=eudr-test
# EU Login credentials for the web service user
# Obtain these from TRACES NT after registering as operator
EUDR_USERNAME=your_eu_login_username
EUDR_AUTH_KEY=your_authentication_key
# ============================================
# How to obtain EUDR credentials:
# ============================================
# 1. Register in TRACES NT (acceptance.eudr.webcloud.ec.europa.eu)
# 2. Create an Operator and User
# 3. Go to Edit Profile > Web Services Access
# 4. Click "Active" to enable Web Service access
# 5. Copy your Username and Authentication Key
# ============================================