Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Security
Comment thread
MohamedMostafa259 marked this conversation as resolved.
Resolved
SECRET_KEY=

# Database Configuration
# Example: postgresql+psycopg://user:password@localhost/blog
DATABASE_URL=

# S3 Configuration
S3_BUCKET_NAME=fastapi-blog-uploads
Comment thread
MohamedMostafa259 marked this conversation as resolved.
Resolved
S3_REGION=us-east-1
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
Comment thread
MohamedMostafa259 marked this conversation as resolved.
Resolved

# Mail Configuration (Example defaults for Mailtrap)
MAIL_SERVER=sandbox.smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM=noreply@fastapiblog.com
Comment thread
MohamedMostafa259 marked this conversation as resolved.
Resolved
MAIL_USE_TLS=true

# Frontend Configuration
FRONTEND_URL=http://localhost:8000
Loading