Mindbody-scheduler is a scheduler to run every alotted time to sign up for classes on mindbody.io for Crossfit ECF only (currently)
Built with Go as the server, Svelte as the client, and Postgres as the database.
Run with docker-compose
> docker-compose build
> docker-compose up
Requirements
> cd server
> GOOS=linux go build -o backend main.go
> ./backend & # to run in background
> cd web
> npm i
> npm run dev
create local Postgres instance with username: postgres
& password: postgres
> psql -h 127.0.0.1 -U postgres -d mb_scheduler_db -f scripts/init.sql
> psql -h 127.0.0.1 -U postgres -d mb_scheduler_db -c `Select * from schedule_rt`