This repository contains the backend codebase for a web-based electronic voting system designed specifically for village head elections. The system is built using Laravel 11, a powerful PHP framework for web application development.
- PHP 8.2 or higher
- Composer
- PostgreSQL 13 or higher
-
Clone this repository to your local machine:
git clone https://github.com/ExeCiety/voting-system-for-village-head-elections-backend.git
-
Navigate to the project directory:
cd village-election-voting-system-backend
-
Install dependencies using Composer:
composer install
-
Copy the
.env.example
file to.env
and configure your environment variables, including your database connection details:cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Migrate the database:
php artisan migrate
-
Serve the application:
php artisan serve
-
Access the application in your web browser at
http://localhost:8000
Postman Documenter https://documenter.getpostman.com/view/7865721/2sA3QwbUwa