GitHunt
HU

HuiiBuh/facility-utilization-statistics

A little web server with frontend which gathers statistics about the capacity of the local facilities

Facility Statistics

This is a little NestJS server with a React frontend which extracts the capacity of the different facilities and generates a view good looking graphs from it. This helps you from going to the gym/climbing facility at less crowded times.
The frontend is a installable PWA.

Facility preview:

Screenshot 1

Admin panel:

Screenshot 2

Add your own facilities

  • Go into the folder server/src/config folder.
  • Add you own facility in the config.ts file
  • Add your own extraction handler in the extraction-handler folder
  • Edit the config.interfaces.ts file, so the config file has the right type after you added your facility
  • Follow the instructions of this README

Deploy

  • See here
  • Run the build.sh file which will build you the docker containers
  • Run docker-compose up

Languages

TypeScript87.1%SCSS7.8%HTML2.2%Dockerfile1.5%Shell0.7%JavaScript0.6%

Contributors

Latest Release

v0.1.0July 26, 2020
GNU Affero General Public License v3.0
Created June 17, 2020
Updated September 4, 2021