An internal platform for employee donations and CSR initiatives at ACME Corp.
-
Clone the repository
git clone https://github.com/arslan-butt/donation-platform.git cd donation-platform -
Install dependencies
composer install npm install
-
Copy the .env file and generate the app key
cp .env.example .env php artisan key:generate
-
Configure your database Edit the
.envfile and set your local DB connection or use SQLite without any configuration. -
Run migrations
php artisan migrate
-
Build assets
npm run dev
php artisan testTo seed the database with default permissions and demo users:
php artisan db:seedThis will create:
Admin User
- Email: admin@acme.com
- Password: password
Regular User
- Email: user@acme.com
- Password: password
Run a Specific Seeder
You can also run an individual seeder, e.g:
php artisan db:seed --class=CampaignSeedernpm run dev- Start Vite dev servernpm run build- Build production assetsnpm run format- Format frontend code with Prettiernpm run lint- Lint and auto-fix code with ESLint
- Laravel (PHP)
- Vue 3 + Inertia.js
- Tailwind CSS
- Vite
- Pinia, Zod, VeeValidate
- ESLint + Prettier setup