8000 GitHub - DonTee-Why/gascosa: A simple e-voting system written in PHP using the Model View Controller (MVC) pattern.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

DonTee-Why/gascosa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GACOSCA - A Simple E-Voting System

A simple e-voting system written in PHP using the Model View Controller (MVC) pattern.

Features

  • Login with email address
  • Vote for candidates
  • Upload image
  • View election results

Installation

Gacosca requires PHP v8.0+ to run.

Install the dependencies:

cd gacosca
composer install

Set the database parameters for the project in the config.php file

<?php
...
define('DB_HOST', '127.0.0.1');
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'gascosa');

Note: An existing database is required for this project to work properly.

Development

Install tables

Start your development server. Navigate to this address in your browser depending on your development server to install the required tables in your database:

127.0.0.1:8000/gacosca/install
or
locahost/gacosca/install

Run the project:

locahost/gacosca/

Note: The gacosca/ in the url points to the value of URL_SUBFOLDER in the config.php file.

<?php
...
define('URL_SUBFOLDER', 'gascosa');
...

Others

You will have to add the email addresses manually to the database to be able to login. You can create a page to register email addresses.

License

MIT

Free Software, Hell Yeah!

About

A simple e-voting system written in PHP using the Model View Controller (MVC) pattern.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0