A modern registration system with glassmorphic design, SQLite database storage, and email notifications.
- Glassmorphic UI Design - Modern, transparent interface
- Form Validation - Client and server-side validation
- SQLite Database - Local database storage for registrations
- Email Notifications - Automatic alerts to tim@teknoledg.com
- Responsive Design - Works on all devices
- AI Background - Animated AI selfie images
cd backend
pip install -r requirements.txtCopy env_example.txt to .env and configure:
cp env_example.txt .envUpdate the following variables in .env:
EMAIL_PASSWORD- Your email server passwordFLASK_ENV- Set to 'production' for productionPORT- Server port (default: 5000)
Update these settings in backend/app.py:
SMTP_SERVER- Your email server (e.g., 'mail.teknoledg.com')SMTP_PORT- Email server port (587 for TLS, 465 for SSL)EMAIL_USER- Sender email addressADMIN_EMAIL- Recipient email (tim@teknoledg.com)
python backend/app.pyThe application will:
- Initialize the SQLite database automatically
- Start the Flask server
- Serve the frontend and handle API requests
Register a new user for updates.
Request:
{
"email": "user@example.com",
"name": "John Doe"
}Response:
{
"success": true,
"message": "Thank you for registering! We'll notify you when we launch.",
"email_sent": true
}Get registration statistics.
Response:
{
"total_registrations": 150,
"recent_registrations": 5
}The SQLite database includes a registrations table with:
id- Primary keyemail- User email (unique)name- User name (optional)timestamp- Registration timeip_address- User IP addressuser_agent- Browser information
- Create a Heroku app
- Set environment variables in Heroku dashboard
- Deploy using Git
- Upload files to PythonAnywhere
- Configure WSGI file
- Set up scheduled tasks if needed
- Install Python 3 and pip
- Install requirements
- Configure reverse proxy (nginx)
- Set up SSL certificate
/
├── index.html # Main page
├── css/style.css # Styles
├── js/script.js # Frontend JavaScript
├── images/ # Logo and background images
├── backend/
│ ├── app.py # Flask backend
│ ├── requirements.txt # Python dependencies
│ └── env_example.txt # Environment template
├── Procfile # Heroku deployment
└── README.md # This file
- Email passwords should be stored as environment variables
- Consider using HTTPS in production
- Implement rate limiting for registration endpoint
- Regular database backups recommended
For technical support, contact tim@teknoledg.com