The Donation App is a Flask-based web application designed to facilitate donations. It includes user authentication, email notifications, and a PostgreSQL database for data management.
- User registration and login
- Password reset via email
- Donation tracking
- Admin dashboard
- Flask
- Flask-Login
- Flask-Mail
- Flask-SQLAlchemy
- PostgreSQL
- Gunicorn
- PyJWT
- Python 3.11
- PostgreSQL
- Git
-
Clone the repository:
git clone https://github.com/yourusername/donation_app.git cd donation_app -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Set up the environment variables in a
.envfile:FLASK_APP=run.py FLASK_ENV=production SECRET_KEY=your-secret-key DATABASE_URL=your-database-url MAIL_USERNAME=your-email@gmail.com MAIL_PASSWORD=your-email-password ADMIN_EMAIL=your-email@gmail.com -
Run the application:
flask run
The app is deployed on Render. Ensure all environment variables are set in the Render dashboard and the PostgreSQL database is configured.
Feel free to submit issues or pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.