gohorsejobs/seeder-api/.env.example
Tiago Yamamoto 340911b4d1 feat(auth): add cookie parsing and JWT auth guard to backoffice
- Add JWT auth guard with Bearer token and cookie support
- Update .env.example files with PASSWORD_PEPPER documentation
- Update seeder to use PASSWORD_PEPPER for password hashing
- Update seeder README with hash verification examples
- Fix frontend auth and page components
- Update backend JWT service and seed migration
2025-12-24 10:27:04 -03:00

22 lines
649 B
Text

# =============================================================================
# GoHorse Jobs Seeder API - Environment Variables Example
# =============================================================================
# Copy this file to .env and update the values
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=yourpassword
DB_NAME=gohorsejobs
DB_SSLMODE=disable
# Server Configuration
PORT=3001
NODE_ENV=development
# Backend API URL (to sync data)
BACKEND_API_URL=http://localhost:8521/api/v1
# MUST match backend PASSWORD_PEPPER for login to work
PASSWORD_PEPPER=some-random-string-for-password-hashing