Migrate from Next.js to Flask: Complete motorcycle adventure community website
- Replace Next.js/React implementation with Python Flask - Add colorful blue-purple-teal gradient theme replacing red design - Integrate logo and Transalpina panoramic background image - Implement complete authentication system with Flask-Login - Add community features for stories and tracks sharing - Create responsive design with Tailwind CSS - Add error handling with custom 404/500 pages - Include Docker deployment configuration - Add favicon support and proper SEO structure - Update content for Pensiune BuonGusto accommodation - Remove deprecated Next.js files and dependencies Features: ✅ Landing page with hero section and featured content ✅ User registration and login system ✅ Community section for adventure sharing ✅ Admin panel for content management ✅ Responsive mobile-first design ✅ Docker containerization with PostgreSQL ✅ Email integration with Flask-Mail ✅ Form validation with WTForms ✅ SQLAlchemy database models ✅ Error pages and favicon handling
This commit is contained in:
29
.env.example
29
.env.example
@@ -1,29 +0,0 @@
|
||||
# Database
|
||||
DATABASE_URL="postgresql://username:password@localhost:5432/moto_adventure"
|
||||
|
||||
# NextAuth
|
||||
NEXTAUTH_URL="http://localhost:3000"
|
||||
NEXTAUTH_SECRET="your-secret-key-here"
|
||||
|
||||
# Email Service (for password recovery)
|
||||
EMAIL_HOST="smtp.gmail.com"
|
||||
EMAIL_PORT="587"
|
||||
EMAIL_USER="your-email@gmail.com"
|
||||
EMAIL_PASS="your-app-password"
|
||||
EMAIL_FROM="noreply@moto-adv.com"
|
||||
|
||||
# File Upload
|
||||
UPLOAD_DIR="./public/uploads"
|
||||
MAX_FILE_SIZE="10485760" # 10MB
|
||||
|
||||
# Site Configuration
|
||||
SITE_URL="http://localhost:3000"
|
||||
SITE_NAME="Moto Adventure Community"
|
||||
|
||||
# Admin
|
||||
ADMIN_EMAIL="admin@moto-adv.com"
|
||||
|
||||
# Pensiunea Buongusto
|
||||
PENSIUNEA_PHONE="+40-xxx-xxx-xxx"
|
||||
PENSIUNEA_EMAIL="info@pensiunebuongusto.ro"
|
||||
PENSIUNEA_WEBSITE="https://pensiunebuongusto.ro"
|
||||
Reference in New Issue
Block a user