Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 1.21 KB

README.md

File metadata and controls

19 lines (17 loc) · 1.21 KB

LAHS Hack Club Main Site

Greetings! The LAHS Hack Club is a prominent computer and programming club at Los Altos High School, and our site can be found at lahs.club. This repository contains the source code for this website, which includes:

  • Custom material blue theme (for our school colors).
  • Custom join page which links to our backend user system.
  • Ability to send updates to all users in our system via email and automatically hook into our Slack channel for announcements.
  • Custom admin control panel with multiple users and login page.
  • Integration with our club server, which automatically adds user accounts to it and emails them the password in their registration email (requires root access).

This requires a PHP webserver to be running on an account with sudo privelages, most likely root. Its backend is coded in PHP and hooks into MySQL, and the frontend is coded in HTML, CSS, and JavaScript, with a large thanks to MaterializeCSS for the design. Everything can be configured in conf.ini.php!

Database structure:

CREATE TABLE `users` (
	`first_name` VARCHAR(255),
	`last_name` VARCHAR(255),
	`email` VARCHAR(255),
	`year` INT(4)
);