Back to Docs
Configuration
Configure your Bend project to match your needs.
Project Structure
Bend creates a clean, organized project structure with best practices built in:
my-backend/
├── src/
├── routes/
├── middleware/
├── models/
└── index.ts
├── .env
├── .gitignore
└── package.json
Environment Variables
Bend automatically sets up environment variable management with sensible defaults.
Common Variables
PORT- Server port (default: 3000)NODE_ENV- Environment (development/production)DATABASE_URL- Database connection string
