A Laravel 8-based Church Management System that helps administrators manage church-related activities such as weddings, baptisms, user roles, financial transactions, and more.
- User Authentication & Security: Secure login, registration, and password reset using Laravel Passport.
- User & Role Management: Assign roles to users, including administrator and church staff.
- Weddings Management: Track and manage wedding ceremonies.
- Baptisms Management: Register and manage baptisms.
- Church Activities: Organize, update, and remove church events.
- Donations & Tithes: Manage church donations and financial contributions.
- Expense Tracking: Monitor and update church expenses.
- Service Fees & Payments: Track church service fees and payment details.
- Dashboard & Reports: View activity logs and manage financial reports.
POST /login
- User loginPOST /register
- User registrationPUT /resetpassword/{user}
- Reset user password
GET /profile
- Get authenticated user profileGET /users
- List all usersPOST /users
- Create a new userPUT /users/{user}
- Update user detailsDELETE /users/{user}
- Delete a userGET /usertypes
- Get available user typesGET /user/positions
- Get user positions
GET /weddings
- List all weddingsPOST /weddings
- Add a new weddingPUT /weddings/{wedding}
- Update wedding details
GET /baptisms
- List all baptismsPOST /baptisms
- Add a new baptismPUT /baptisms/{baptism}
- Update baptism details
GET /activities
- List all church activitiesPOST /activities
- Create a new activityPUT /activities/{activity}
- Update activity detailsDELETE /activities/{activity}
- Delete an activity
GET /actofgivings
- List all acts of giving (donations, tithes)POST /actofgivings
- Add a new act of givingPUT /actofgivings/{act_of_giving}
- Update an act of givingDELETE /actofgivings/{act_of_giving}
- Delete an act of giving
GET /expenses
- List all church expensesPOST /expenses
- Add a new expensePUT /expenses/{expense}
- Update an expenseDELETE /expenses/{expense}
- Delete an expense
GET /servicefee
- List all service feesPOST /servicefee
- Add a new service feePUT /servicefee/{service_fee}
- Update a service feeGET /payments
- List all payments
GET /dashboard
- View the dashboard overviewGET /activitylogs
- View system activity logs
- PHP 7.3+ or 8.0+
- Composer
- MySQL
- Node.js (for front-end assets)
-
Clone the Repository:
git clone using ssh or https cd church-management-api
-
Install Dependencies:
composer install npm install
-
Set Up Environment:
cp .env.example .env php artisan key:generate
-
Configure Database: Edit the
.env
file with your database credentials:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database DB_USERNAME=your_username DB_PASSWORD=your_password
-
Run Migrations and Seed Data:
php artisan migrate --seed
-
Start the Server:
php artisan serve
The app will be accessible at
http://127.0.0.1:8000
.
-
Admin Role:
- Manage users, roles, and permissions.
- Track church activities, weddings, and baptisms.
- Handle financial transactions and reports.
-
Church Staff Role:
- Register and manage weddings and baptisms.
- View and manage church activities.
Run all tests:
php artisan test
Run a specific test:
php artisan test --filter TestClassName
This Church Management API provides a comprehensive solution for managing church activities, members, financial transactions, and user roles. Built with Laravel 8, it ensures security, scalability, and ease of use for church administrators and staff.