A simple, elegant web-based sign-in/sign-out system for FRC (FIRST Robotics Competition) teams to track student attendance and hours.
- 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
- Docker Desktop (download here)
-
Clone the repository
git clone https://github.com/chriscush765/Team1923SignIn.git cd Team1923SignIn -
Start the application
docker-compose up -d
-
Access the application
- Main interface: http://localhost:8080
- Admin panel: http://localhost:8080/admin
- Default admin password:
password(change this!)
Edit signin/includes/config.php to customize:
- Team name
- Database credentials
- Admin password (MD5 hashed)
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
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);- Host: localhost
- Port: 3306
- Database: frcsignin
- Username: frcsignin_user
- Password: frcsignin_pass
Stop the application:
docker-compose downView logs:
docker-compose logs -f webRestart:
docker-compose restartReset database (deletes all data):
docker-compose down -v
docker-compose up -d- Sign in/out with ID number
- View who's currently online
- Recover forgotten ID numbers
- Clean, distraction-free interface
- Search for any user
- View detailed logs and time tracking
- Force logout all users
- Secure admin authentication
- Backend: PHP with MySQLi
- Database: MySQL 8.0
- Frontend: HTML, CSS, JavaScript (jQuery)
- Containerization: Docker & Docker Compose
- Web Server: Apache
- 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
Contributions are welcome! This project was originally built for FRC Team 1923 - MidKnight Inventors.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
For detailed setup instructions, see README_SETUP.md
Built for FRC Team 1923 - MidKnight Inventors By Chris
