This repository contains @vscubing's microservice that acts as an HTTP wrapper for tnoodle-cli.
- GET :3001/?discipline="3by3"|"2by2"&count=7
- Install:
bun install && bun run install-vendor- Run:
bun run dev- Test:
bun run test- Use:
curl 'localhost:3001?discipline=3by3&count=7&secret=SECRET'- Run a continerized version locally:
docker rm --force vscubing-tnoodle
docker build --platform=linux/amd64 -t vscubing-tnoodle .
docker run --name vscubing-tnoodle -p 3001:3001 vscubing-tnoodle