A simple interface for logging and displaying time since a certain event has occured, allowing for CSHer's to track how long its been since a prior event. Heavily inspired off the "Days since last..." meme format.
This project uses Golang, Gin, HTML/CSS, and Javascript.
This project ALSO uses a modified version of bootstrap 5! Check it out here!
- Clone and cd into the repo: git clone https://github.com/ComputerScienceHouse/counters
(OPTIONAL): Make another branch if your working on a large thing!
- Make sure you have docker installed
(OPTIONAL): You can use docker compose as well!!
- Copy the .env.template file, rename it to .env and place it in the root folder
- Ask an RTP for counters secrets, add them to the .env accordingly
Counters is containerized through a docker file.
- Build the docker file
docker build -t Counters .
- Run the newly built docker on port 8000
docker run -p 8080:80 Counters
Counters also has support for Docker Compose, a extended version of docker that simplifies the steps.
(This is a really cool thing! If you use docker often, check it out!)
docker compose up --build
- [] Add Swagger
- [] Add API Integration
- [] Add Logging (similar to Votes "Actions")
- [] Time Zone support