A dead-simple real-time voting tool.
Find a file
2024-10-16 17:37:06 -06:00
.github/workflows Back to basics 2024-10-16 17:37:06 -06:00
.zed Added zed settings 2024-07-05 14:09:17 -06:00
api Session table work now 2024-09-16 13:46:25 -06:00
lib Fly again 2024-10-16 13:20:13 -06:00
pages Added global page errors 2024-07-09 11:59:06 -06:00
public Added global page errors 2024-07-09 11:59:06 -06:00
.air.toml Go! 2024-06-27 13:13:46 -06:00
.dockerignore Go! 2024-06-27 13:13:46 -06:00
.env.example Fixed some wonky encryption BS 2024-09-01 18:52:23 -06:00
.gitattributes Init 2024-02-15 09:07:09 -07:00
.gitignore Go! 2024-06-27 13:13:46 -06:00
docker-compose.dev.yml Fly again 2024-10-16 13:20:13 -06:00
docker-compose.yml Back to basics 2024-10-16 17:37:06 -06:00
Dockerfile Fuck self hosting 2024-06-03 16:34:56 -06:00
fly.toml Fly 2024-10-16 13:08:18 -06:00
go.mod Made the table prettier! 2024-07-05 13:51:48 -06:00
go.sum Removed post layout 2024-07-09 09:55:47 -06:00
main.go Fly again 2024-10-16 13:20:13 -06:00
README.md Go! 2024-06-27 13:13:46 -06:00

Pollo

Stack:

  • Backend: Golang + Echo
  • Rendering: Golang templates
  • Style: TailwindCSS + DaisyUI
  • Content format: Markdown

Requirements:

  • Golang 1.22.0

Instructions:

  1. Run go get
  2. Duplicate the .env.example file and call it .env
  3. Fill out the .env values
  4. Run go install github.com/cosmtrek/air@latest to download Air for live reload
  5. Run air to start the dev server (macOS and Linux only)

Note that on MacOS, you need to right click and open the appropriate tailwind executable before you can run StyleGen. This is a limitation of running unsigned binaries in MacOS. Blame Tim Apple.

Tests

Without Coverage: go test pollo/lib With Coverage: go test pollo/lib -cover