Let's make something useful for this world.
Donation is an open-source Laravel-based initiative designed to empower individuals and organizations worldwide to easily initiate charity campaigns. With this project, anyone can create, customize, and launch their own charity platform, enabling the global community to contribute and support causes that matter most.
You can see the demo Here Or have a quick look from screenshots:
Page | Image |
---|---|
Home | |
Donate | |
Album | |
Contact | |
Admin: Login | |
Admin: Donations List | |
Admin: Manage Members |
-
Clone repo:
git clone https://github.com/souravdutt/donation.git
-
Open project
cd donation
-
Download vendors/libraries
composer install
- Meanwhile you can create a new Database
-
Create
.env
filecp .env.example .env
-
Generate app key
php artisan key:generate
-
add DB info in
.env
fileDB_DATABASE=<YOUR DB NAME> DB_USERNAME=<YOUR DB USERNAME> DB_PASSWORD=<YOUR DB PASSWORD>
-
Add stripe API keys in
.env
fileSTRIPE_KEY=<your_api_key> STRIPE_SECRET=<your_secret_key> STRIPE_WEBHOOK_SECRET=<your_webhook_secret>
-
Add checkout information in
.env
fileDONATION_CURRENCY=INR MIN_DONATION_AMOUNT=1000 TRUST_NAME="School for Blind and Disabled Children" TRUST_ADDRESS="Delhi Gate" TRUST_CITY="Malerkotla" TRUST_ZIPCODE="148024" TRUST_COUNTRY="India" TRUST_PHONE="+919999999999" TRUST_EMAIL="[email protected]"
-
Migrate db tables
php artisan migrate
-
Seed data into required tables (For Testing)
php artisan db:seed
- Please note we use countries states and cities to show location to the donors.
- https://raw.githubusercontent.com/dr5hn/countries-states-cities-database/master/sql/world.sql
Contributions and suggestions are welcomed! Feel free to fork the project, make enhancements, and submit pull requests to help improve the platform's functionality and impact.
Join us in making a difference with Donation Project!
MIT License