https://github.com/techplexengineer/bionic-attend
Simple Attendance tool for FRC teams
https://github.com/techplexengineer/bionic-attend
Last synced: 5 months ago
JSON representation
Simple Attendance tool for FRC teams
- Host: GitHub
- URL: https://github.com/techplexengineer/bionic-attend
- Owner: TechplexEngineer
- Created: 2021-10-08T07:19:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T21:35:43.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T23:36:20.475Z (about 1 year ago)
- Language: Go
- Size: 3.5 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Bionic Attendance
=================
Web application to track student attendance for FRC robotics team meetings.
## How it works
Users can be created by entering a userid that does not already exist in the system.
Designed to be used with a barcode scanner which appends a "return" to the end of the scan.
Does not track time, only if the student attended a meeting.
## How we use it
We have a raspberry pi with a keyboard, mouse, and barcode scanner near the entrance to our robotics shop.
Students scan their student IDs when they enter the shop.
## Technical
Data is stored in a SQLite database in two tables, users and attendance.
The database structure is specified in [schema.sql](db/schema.sql).
THe queries are specified in [queries.sql](db/queries.sql).
This project uses [sqlc](https://github.com/kyleconroy/sqlc) to generate go code which converts the query results into
go datatypes.
### Dependencies
- modernc.org/sqlite - pure go implementation of sqlite
- github.com/gorilla/mux - for http routing
- github.com/gorilla/sessions - for cross browser cookie creation and deletion
- github.com/matryer/is - lightweight unit test helpers