This is a small website I created for school events. It made ticket selling way easier and quicker.
As shown in the above photos there are several items that the user can do in the program.
There are also classes of users that divide as such:
1.Cannot Login (has no permission to login to the website)
2.Can See Information (has the ability to check tickets only)
3.Ticket Seller (As the above plus the ability to also sell tickets)
4.Team Manager (As the above plus the ability to refund tickets and see statistics)
5.Admin (This user has access to everything, create user, modify users, generate tickets and add school)
I gave the refund ticket option only to the team manager so as not create any problems with users doing that by mistake.
To run the website is pretty simple. Clone the repository (but you only need public and application and the db file).
You upload the files to the web server and set the root folder to /public. Then you need to upload the database to the sql server.
Lastly in order to finalize the connection between the database and the website you need to input the database info in /application/config/config.php
You should edit the following information only:
define('DB_TYPE', 'mysql');
define('DB_HOST', '127.0.0.1');
define('DB_NAME', 'name');
define('DB_USER', 'user');
define('DB_PASS', 'db_pass');
define('DB_CHARSET', 'utf8');
The default user and password are admin/admin.
You can simply change them afterwords.
For his help with CSS and BBF flat style.
[@Archmonger] (https://github.com/archmonger)
For his help with building the website and debugging.
[@abhishek-singhal] (https://github.com/abhishek-singhal)