Skip to content

ZeusWPI/ZeSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

76c585e · Mar 5, 2025
Nov 19, 2024
Dec 6, 2024
Feb 18, 2025
Dec 5, 2024
Mar 5, 2025
Oct 27, 2024
Aug 12, 2024
Oct 27, 2024
Nov 19, 2024
Aug 26, 2024
Oct 3, 2024
Feb 18, 2025

Repository files navigation

Zeus Scan Syst(e)em

Formerly called Vincent (I did not name it - Vincent)

Check-in in the the kelder kelder

Scans a badge at the scanner (vinscant) which registers its serial number at the webserver (vingo).

Features:

  • Supports a daily check-in, keeping track of which days you have visited the kelder.

Goals:

  • Support check-in and check-out, keeping track of how many hours(, minutes(, seconds)) you have been in the kelder
  • Cool stats :D

Secret goals:

  • Streaks
  • Data
  • More Data
  • Skins
  • Battlepass

Structure

  • Vinscant -> Scanner
  • Vingo -> Backend
  • Vinvoor -> Frontend

Development

Pre-commit hooks

This project has a couple of pre-commit hooks. Automatically run them by running git config --local core.hooksPath .githooks/.

Run

  • Install Docker and Docker Compose
  • Run the script ./dev.sh with optional flags:
    • -b: Show the output of the backend.
    • -f: Show the output of the frontend.
    • -c: Rebuilds the docker containers.
    • If both -b and -f or no flags are provided, the output of both the backend and frontend are shown.

The backend is accessible at localhost:3000, and the frontend at localhost:5173. Both the backend and the frontend support hot module reloading (HMR).

Production

  • Install Docker
  • Set the required env variables for vinvoor in vinvoor/production.env before building (see the README in ./vinvoor)
  • Build the image docker build -t zess .
  • Set the required variables in a .env file for the backend (see the README in ./vingo)
  • Run the image docker run -v ${PWD}/.env:/.env zess

The website is accessible on port 4000