Skip to content

opth/SPSEGamingHub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPSEGamingHub

PHP Based web application made specifically for SPSE Lan Gaming Tournament. @Roudnas

Has since been made into a graduation project.

Stack

PHP MYSQL ES6 JS PRIVATE REST API

File Structure

Following a pretty classic MVC philosophy, the base file structure is as follows:

  • Controllers

    • Connecting models with views and in this case also routing GET requests
  • Models

    • Logical structures
  • Views

    • custom phtml files used for rendering with template php syntax
  • Public

    • publicly accessible assets, this includes all css, js, imagery and pdfs

.env

Used to configure the app and provide necessary auth tokens

.env.example

DB_HOST=db.myhost.com
DB_USER=dbuser
DB_PW=dbpassword
DB_DBNAME=spsegaminghub
MAIL_SMTP_HOST=mymailserver.com
MAIL_USERNAME=mailusername
MAIL_PW=mailpassword
ADMIN_IP=11.12.13.14
BASE=mydomain.com
DISCORD_CID=
DISCORD_TOKEN=

About

PHP Based web application made specifically for SPSE Lan Gaming Tournament.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • PHP 68.4%
  • HTML 22.0%
  • JavaScript 7.0%
  • CSS 2.6%