Skip to content

Latest commit

 

History

History
76 lines (67 loc) · 2.05 KB

README.md

File metadata and controls

76 lines (67 loc) · 2.05 KB

A great mini project for your portfolio could be an "Online Donation Platform."

donation main page donation main page 2

Main Features:

  1. User Registration/Login: Simple authentication system for users to sign up and log in.
  2. Donation Campaigns: Create, read, update, and delete (CRUD) donation campaigns with details like title, description, goal amount, and deadline.
  3. Payment Integration: Implement an Iranian payment method (like Zarinpal) for users to make donations.
  4. Live Donation Tracker: Display real-time updates of total donations received for each campaign using Laravel Livewire.
  5. Admin Dashboard: Admin panel for managing campaigns and viewing donation statistics.

Supported Localization:

  • En (English)
  • Fa (فارسی)

Used Techs

Installation

  1. Clone this project
git clone /~https://github.com/abolraj/laravel-react-donation
  1. Goto root directory
cd laravel-react-donation
  1. Install back-end dependencies with composer
composer install
  1. Install front-end dependencies with npm
npm install
  1. Copy .env.example to .env
  2. Set needed configs for database,app,etc. in .env
  3. Create tables and make database ready to use
php artisan migrate
  1. [Development mode] Serve a host for front-end
npm run dev
  1. [Production mode] Serve a host for front-end
npm run build
  1. Serve a host for backend
php artisan serve
  1. READY !!!!

Docker & Nginx

if you want use docker & nginx webserveras hosting system
You can check relevant files

Nginx config default.conf

Docker compose config docker-compose.yml

Docker build file DockerFile

  1. Docker must be installed and ready to use
  2. build image from DockerFile
docker compose up --build -d