Skip to content
cuuushPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

FRC Team Sign-In System

A simple, elegant web-based sign-in/sign-out system for FRC (FIRST Robotics Competition) teams to track student attendance and hours.

Sign-In Interface

Features

  • Quick Sign-In/Out: Students can sign in and out using their ID number
  • Real-Time Tracking: See who's currently online at the workspace
  • Time Logging: Automatically tracks hours spent on the team
  • Admin Dashboard: Search users, view logs, and manage the system
  • ID Recovery: Built-in "Forgot your ID?" feature
  • Clean UI: Modern, responsive design with easy-to-use interface

Quick Start with Docker

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/chriscush765/Team1923SignIn.git
    cd Team1923SignIn
  2. Start the application

    docker-compose up -d
  3. Access the application

Configuration

Edit signin/includes/config.php to customize:

  • Team name
  • Database credentials
  • Admin password (MD5 hashed)

Database Schema

The system uses two main tables:

  • students: Stores student information (ID, name, active status, total time)
  • LOGS: Records all sign-in/sign-out events with timestamps

Adding Students

Using MySQL Command Line

docker exec -it frcsignin_db mysql -ufrcsignin_user -pfrcsignin_pass frcsignin

INSERT INTO students (ID, NAME, FULLNAME, ACTIVE, TOTALTIME)
VALUES (1001, 'John Doe', 'John Doe', 0, 0);

Using a Database Client

  • Host: localhost
  • Port: 3306
  • Database: frcsignin
  • Username: frcsignin_user
  • Password: frcsignin_pass

Management Commands

Stop the application:

docker-compose down

View logs:

docker-compose logs -f web

Restart:

docker-compose restart

Reset database (deletes all data):

docker-compose down -v
docker-compose up -d

Features Breakdown

For Students

  • Sign in/out with ID number
  • View who's currently online
  • Recover forgotten ID numbers
  • Clean, distraction-free interface

For Admins

  • Search for any user
  • View detailed logs and time tracking
  • Force logout all users
  • Secure admin authentication

Technology Stack

  • Backend: PHP with MySQLi
  • Database: MySQL 8.0
  • Frontend: HTML, CSS, JavaScript (jQuery)
  • Containerization: Docker & Docker Compose
  • Web Server: Apache

Security Notes

  • Change the default admin password immediately
  • The code uses MD5 for password hashing (consider upgrading to bcrypt)
  • SQL queries should be updated to use prepared statements to prevent SQL injection

Contributing

Contributions are welcome! This project was originally built for FRC Team 1923 - MidKnight Inventors.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Support

For detailed setup instructions, see README_SETUP.md


Built for FRC Team 1923 - MidKnight Inventors By Chris

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages